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.7.0.tar.gz (23.6 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.7.0-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for datacache-1.7.0.tar.gz
Algorithm Hash digest
SHA256 ecb50ee4b01b35f78568b10ede8e94617c193028010b9f716afb52d23429750d
MD5 d76f0f27b5e09a21ef85ce35fa57ce53
BLAKE2b-256 ffb0efdf4bfa92a201fcbdfb3ebdc072656f5f69b72523a56579c167dfcac145

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datacache-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 22.0 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d6814c23c5a898597618d12101a0f1132008663771eb2af460586fd0aa79fad
MD5 c9904b648cb0bcb692ee527db8f035c0
BLAKE2b-256 8f36bf668275468de3e8403d88c8673f8af675f77b5ea8d01fef478291c94323

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