Skip to main content

Helpers for transparently downloading datasets

Project description

Tests Coverage Status PyPI

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datacache-1.6.0.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datacache-1.6.0-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file datacache-1.6.0.tar.gz.

File metadata

  • Download URL: datacache-1.6.0.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for datacache-1.6.0.tar.gz
Algorithm Hash digest
SHA256 100e2b0ffcb17f0e469b02bd2705ba85da88d95d07c7ceb8d9bd9a1a1a24a9ac
MD5 f7c5e47dfb00a4743a0bd52b2da80919
BLAKE2b-256 5619696bfd72ecb59bde12ef87f4c593f060ee81cda346b686b9b825b4a777b2

See more details on using hashes here.

File details

Details for the file datacache-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: datacache-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for datacache-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f73cfa7ce353192c78afbc23d5be7f7c365bc7c2f16782166fee8318730a4d04
MD5 4aaec09fc222ff47cf4a35b174f30bf5
BLAKE2b-256 bcafaf8301cc29358b01afb44d71666c96271fe16afb1d7e28bba33b038ebd18

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page