Data acquisition tools for Wagnerds
Project description
Wags-TAILS
Technology-Assisted Information Loading and Structure (TAILS) for Wagnerds.
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:
- Thera-Py
- Gene Normalizer
- Disease Normalizer
- and more!
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wags_tails-0.3.2.tar.gz
.
File metadata
- Download URL: wags_tails-0.3.2.tar.gz
- Upload date:
- Size: 214.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
fb4957cdf123724372b3440793f9efb7c80f7e070cbfb821cfbb08cb18ef061b
|
|
MD5 |
c5086d58ac499985c9d1a19a0f6c4ac1
|
|
BLAKE2b-256 |
c97ccc57feaed7f95955953014206a6f137527f5f928db7835b1f696f51818ee
|
Provenance
The following attestation bundles were made for wags_tails-0.3.2.tar.gz
:
Publisher:
release.yaml
on GenomicMedLab/wags-tails
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
wags_tails-0.3.2.tar.gz
-
Subject digest:
fb4957cdf123724372b3440793f9efb7c80f7e070cbfb821cfbb08cb18ef061b
- Sigstore transparency entry: 187200499
- Sigstore integration time:
-
Permalink:
GenomicMedLab/wags-tails@72fe1f4bdbfad8c3b6c55f5bea7d7e3f245b5847
-
Branch / Tag:
refs/tags/0.3.2
- Owner: https://github.com/GenomicMedLab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yaml@72fe1f4bdbfad8c3b6c55f5bea7d7e3f245b5847
-
Trigger Event:
release
-
Statement type:
File details
Details for the file wags_tails-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: wags_tails-0.3.2-py3-none-any.whl
- Upload date:
- Size: 37.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
378e78564e2cd591d1fdb3524779fe98c98f23b9766252406de345ca9ab42f66
|
|
MD5 |
108cf9183e91e67dfad337fff750325c
|
|
BLAKE2b-256 |
f82f7a6cb5570f81b9ebfb64b612cf2a3e32c6aa34fe87c594b82a49a86b5b18
|
Provenance
The following attestation bundles were made for wags_tails-0.3.2-py3-none-any.whl
:
Publisher:
release.yaml
on GenomicMedLab/wags-tails
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
wags_tails-0.3.2-py3-none-any.whl
-
Subject digest:
378e78564e2cd591d1fdb3524779fe98c98f23b9766252406de345ca9ab42f66
- Sigstore transparency entry: 187200511
- Sigstore integration time:
-
Permalink:
GenomicMedLab/wags-tails@72fe1f4bdbfad8c3b6c55f5bea7d7e3f245b5847
-
Branch / Tag:
refs/tags/0.3.2
- Owner: https://github.com/GenomicMedLab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yaml@72fe1f4bdbfad8c3b6c55f5bea7d7e3f245b5847
-
Trigger Event:
release
-
Statement type: