VTracker
For tracking the relationship between group membership changes across versions.
Installation
- PyPI:
pip install vtracker
Usage
- Instantiate the
VTrackerclass and specify the versions from oldest to newest. - Populate the tracker with each unique entity, and specify the state of the entity at each of the versions. Missing versions have the state of 'Not Present'.
Consider the following example which generates the JSON required to display the following D3 Sankey diagram similar to that of the GTDB Taxon History tool:
from vtracker import VTracker
vt = VTracker(('R80', 'R83', 'R86.2', 'R89', 'NCBI'))
vt.add('G000210735', {'R80': 's__Faecalibacterium prausnitzii_B',
'R83': 's__Faecalibacterium prausnitzii_B',
'R86.2': 's__Faecalibacterium prausnitzii_B',
'R89': 's__Faecalibacterium prausnitzii_G',
'NCBI': 's__Faecalibacterium prausnitzii'})
vt.add('G003287485', {'R89': 's__Faecalibacterium prausnitzii_G',
'NCBI': 's__Faecalibacterium prausnitzii'})
vt.add('G003287505', {'R89': 's__Faecalibacterium prausnitzii_G',
'NCBI': 's__Faecalibacterium prausnitzii'})
vt.add('G003293635', {'R89': 's__Faecalibacterium prausnitzii_G',
'NCBI': 's__Faecalibacterium prausnitzii'})
vt.add('G003508795', {'R80': 's__Faecalibacterium prausnitzii_B',
'R83': 's__Faecalibacterium prausnitzii_B',
'R86.2': 's__Faecalibacterium prausnitzii_B',
'R89': 's__Faecalibacterium prausnitzii_G'})
sankey_json = vt.as_sankey_json()
Metadata
Release files for vtracker 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vtracker-1.0.1.tar.gz | 17.6 kB | Without provenance | Details for vtracker-1.0.1.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vtracker-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for vtracker-1.0.1-py3-none-any.whl |
| vtracker-1.0.1-py2-none-any.whl | Python 2 | none | any | Details for vtracker-1.0.1-py2-none-any.whl |
Total release size: 81.8 kB
Release files / vtracker-1.0.1.tar.gz
| Download URL | vtracker-1.0.1.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c5046d77181fec7af9c7a2373cad245fb7dd242623fcf412a6e1d67bc5f87d1
|
|
BLAKE2b-256 checksum How to use checksums |
a3bcd7d992deef5ba2ffffeaa59dbb92972a029556add6f231421a85bba2d824
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0.post20200102 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
|
Release files / vtracker-1.0.1-py3-none-any.whl
| Download URL | vtracker-1.0.1-py3-none-any.whl |
|---|---|
| Size | 32.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
852ce9e8a1c334564f4a4af856acf49c84cec65a2e840a76589059c4dea3cd6c
|
|
BLAKE2b-256 checksum How to use checksums |
1f55412c906e7905b7aafe0c1e7e682ac33da5c8747917d03022e1c28b8ad2fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0.post20200102 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
|
Release files / vtracker-1.0.1-py2-none-any.whl
| Download URL | vtracker-1.0.1-py2-none-any.whl |
|---|---|
| Size | 32.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
f6603251f4e745fafd618bb93609b06f7339dec94403dc16e1071df1b379c2ab
|
|
BLAKE2b-256 checksum How to use checksums |
3a4fa2b58c3f13bf0be738a9d916e9f620adb8b3a90e901ddeff5ab09c95b954
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0.post20200102 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
|
Security for vtracker 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.