Skip to main content

Data acquisition tools for Wagnerds

Project description

Wags-TAILS

Technology-Assisted Information Loading and Structure (TAILS) for Wagnerds.

image image image Actions status

This tool provides data acquisition and access utilities for several projects developed by the Wagner Lab. It designates a storage location in user-space where external data files can be saved, and provides methods to download and update them when available.

It is currently used in:


Documentation · Installation · Usage · API reference


Installation

Install from PyPI:

python3 -m pip install wags_tails

Overview

Data source classes provide a get_latest() method that acquires the most recent available data file and returns a pathlib.Path object with its location:

>>> from wags_tails.mondo import MondoData
>>> m = MondoData()
>>> m.get_latest(force_refresh=True)
Downloading mondo.obo: 100%|█████████████████| 171M/171M [00:28<00:00, 6.23MB/s]
PosixPath('/Users/genomicmedlab/.local/share/wags_tails/mondo/mondo_20241105.obo'), '20241105'

This method is also available as a shell command for ease of use and for interoperability with other runtimes:

% wags-tails get-latest mondo
/Users/genomicmedlab/.local/share/wags_tails/mondo/mondo_20241105.obo

Configuration

All data is stored within source-specific subdirectories of a designated WagsTails data directory. By default, this location is ~/.local/share/wags_tails/, but it can be configured by passing a Path directly to a data class on initialization, via the $WAGS_TAILS_DIR environment variable, or via XDG data environment variables.


Feedback and contributing

We welcome bug reports, feature requests, and code contributions from users and interested collaborators. The documentation contains guidance for submitting feedback and contributing new code.

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

wags_tails-0.4.1.tar.gz (215.3 kB view details)

Uploaded Source

Built Distribution

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

wags_tails-0.4.1-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

Details for the file wags_tails-0.4.1.tar.gz.

File metadata

  • Download URL: wags_tails-0.4.1.tar.gz
  • Upload date:
  • Size: 215.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wags_tails-0.4.1.tar.gz
Algorithm Hash digest
SHA256 21b1cbed87a3860d0875903031dbfbf4252b582fdf81ec713c2482f332407382
MD5 62649c60e99d53c7b13dbc1f7fb61a75
BLAKE2b-256 0c069c0af90f2861ea525fcc26f52fc9f7b54f9265ffcbf20a0dd8964ed0cc2f

See more details on using hashes here.

Provenance

The following attestation bundles were made for wags_tails-0.4.1.tar.gz:

Publisher: release.yaml on GenomicMedLab/wags-tails

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wags_tails-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: wags_tails-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 38.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wags_tails-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d3f7b1b2e415a8070c17ceb910a33c3223ec6e70694a19bbfe7cb086d07d98b9
MD5 f007c8d40fc7bda7b6131fda3d2f0af7
BLAKE2b-256 0d51287994f7fba6c86939649f5e8fdf57945fa67309687fa28ee3fde80b8cda

See more details on using hashes here.

Provenance

The following attestation bundles were made for wags_tails-0.4.1-py3-none-any.whl:

Publisher: release.yaml on GenomicMedLab/wags-tails

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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