GA4GH Categorical Variation Representation (Cat-VRS) reference implementation
Project description
cat-vrs-python
GA4GH Categorical Variation Representation Python Implementation
Information
Releases
Development
Features
- Pydantic implementation of Cat-VRS models
Known Issues
You are encouraged to browse issues. All known issues are listed there. Please report any issues you find.
Developers
This section is intended for developers who contribute to Cat-VRS-Python.
Installing for development
Prerequisites
- Python >= 3.10
- Note: Python 3.12 is required for developers contributing to Cat-VRS-Python
Fork the repo at https://github.com/ga4gh/cat-vrs-python/.
Install development dependencies and pre-commit
:
git clone --recurse-submodules git@github.com:YOUR_GITHUB_ID/cat-vrs-python.git
cd cat-vrs-python
make devready
source venv/3.12/bin/activate
pre-commit install
Check style with ruff
:
make format; make lint
Submodules
cat-vrs-python embeds cat-vrs as a submodule, only for testing purposes. When checking
out cat-vrs-python and switching branches, it is important to make sure that the
submodule tracks cat-vrs-python correctly. The recommended way to do this is
git config --global submodule.recurse true
. If you don't set submodule.recurse,
developers and reviewers must be extremely careful to not accidentally upgrade or
downgrade schemas with respect to cat-vrs-python.
If you already cloned the repo, but forgot to include --recurse-submodules
you can run:
git submodule update --init --recursive
Testing
To run tests:
make test
Security Note (from the GA4GH Security Team)
A stand-alone security review has been performed on the specification itself. This implementation is offered as-is, and without any security guarantees. It will need an independent security review before it can be considered ready for use in security-critical applications. If you integrate this code into your application it is AT YOUR OWN RISK AND RESPONSIBILITY to arrange for a security audit.
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 ga4gh_cat_vrs-0.1.0.tar.gz
.
File metadata
- Download URL: ga4gh_cat_vrs-0.1.0.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26787748f08df6b05d039c3a523e502ba28549dfbf33c68215adfb15c1746ed7 |
|
MD5 | d5570f91bf75b8cd43aeadde5609d60d |
|
BLAKE2b-256 | d6b80c0ec3d0c124047e9d6cc772834b68e8de172d0e55359edc1adc9a3f6d96 |
Provenance
The following attestation bundles were made for ga4gh_cat_vrs-0.1.0.tar.gz
:
Publisher:
release.yaml
on ga4gh/cat-vrs-python
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ga4gh_cat_vrs-0.1.0.tar.gz
- Subject digest:
26787748f08df6b05d039c3a523e502ba28549dfbf33c68215adfb15c1746ed7
- Sigstore transparency entry: 148386597
- Sigstore integration time:
- Predicate type:
File details
Details for the file ga4gh.cat_vrs-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: ga4gh.cat_vrs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 481f4da70abf30650e3d93c08a34aa6f1a800a3b92960ef6364461c3ccfe7559 |
|
MD5 | 98c52e0f92b0991c7a058ce8886ed29f |
|
BLAKE2b-256 | 590c833914dc1783ec4678eb2407c5d51e7508840b187db69d4f8a51a2099cc8 |
Provenance
The following attestation bundles were made for ga4gh.cat_vrs-0.1.0-py3-none-any.whl
:
Publisher:
release.yaml
on ga4gh/cat-vrs-python
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ga4gh_cat_vrs-0.1.0-py3-none-any.whl
- Subject digest:
481f4da70abf30650e3d93c08a34aa6f1a800a3b92960ef6364461c3ccfe7559
- Sigstore transparency entry: 148386599
- Sigstore integration time:
- Predicate type: