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.5.0.tar.gz (19.2 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.5.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for datacache-1.5.0.tar.gz
Algorithm Hash digest
SHA256 5e80a6263d14340bbf02586ffc942baa5ce37af31f456095ef30537e97c353e9
MD5 64ae6d523b2a717a4b85fa2d0508e983
BLAKE2b-256 47f6acbbd841f49b3486081e855f7561312945b1a3d4962aeace624204a35af3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datacache-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 20.3 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c14f1f305a3df945b805ba5418780b8d3bbc9966995b3c1c3f2981c46197cb86
MD5 0d0cd3504aefee9a19d56ca69665189e
BLAKE2b-256 f045a732444f5f4e9e5d0d6212378bbebec26cd791fbc0d6c46d6842f11020fd

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