File: README.md

package info (click to toggle)
python-datacache 1.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 284 kB
  • sloc: python: 935; sh: 14; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[![Tests](https://github.com/openvax/datacache/actions/workflows/tests.yml/badge.svg)](https://github.com/openvax/datacache/actions/workflows/tests.yml)
<a href="https://coveralls.io/github/openvax/datacache?branch=master">
<img src="https://coveralls.io/repos/openvax/datacache/badge.svg?branch=master&service=github" alt="Coverage Status" />
</a>
<a href="https://pypi.python.org/pypi/datacache/">
<img src="https://img.shields.io/pypi/v/datacache.svg?maxAge=1000" alt="PyPI" />
</a>

# DataCache

Helpers for transparently downloading datasets

## API

- **fetch_file**(download*url, filename = \_None*, decompress = _False_, subdir = _None_)
- **fetch_and_transform**(transformed*filename, transformer, loader,
  source_filename, source_url, subdir = \_None*)
- **fetch_fasta_dict**(download*url, filename = \_None*, subdir = _None_)
- **fetch_fasta_db**(table*name, download_url, fasta_filename = \_None*,
  key*column = *'id'_, value_column = _'seq'_, subdir = \_None_)
- **fetch_csv_db**(table*name, download_url, csv_filename = \_None*, subdir = _None_,
  \*\*pandas_kwargs)