Skip to main content

cat-vrs-python

Cat-VRS-Python provides Python language support and a reference implementation for the GA4GH Categorical Variation Representation Specification (Cat-VRS).

Information

license

Releases

gitHub tag pypi

Development

action status issues GitHub Open Pull Requests GitHub license GitHub stars GitHub forks

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.

Metadata

Release files for ga4gh.cat-vrs 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ga4gh.cat-vrs 0.1.1
File Size Uploaded Provenance Actions
ga4gh_cat_vrs-0.1.1.tar.gz 23.1 kB With provenance Details for ga4gh_cat_vrs-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ga4gh.cat-vrs 0.1.1
File Interpreter ABI Platform Actions
ga4gh.cat_vrs-0.1.1-py3-none-any.whl Python 3 none any Details for ga4gh.cat_vrs-0.1.1-py3-none-any.whl

Total release size: 37.6 kB

Release files / ga4gh_cat_vrs-0.1.1.tar.gz

Download URL ga4gh_cat_vrs-0.1.1.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
df94e709d9a410e68cdeccc6cfe3debfa51f07f1539c70c80f063096d24f0f57
BLAKE2b-256 checksum
How to use checksums
4c3006b7bf9eb445adeaffb039c16c72c807f743f9ee138345d96049f8fda6fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2024.

Transparency log

Release files / ga4gh.cat_vrs-0.1.1-py3-none-any.whl

Download URL ga4gh.cat_vrs-0.1.1-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6c1ffba06c397728b668ee9d103714dd9c861bb75784f899ad20d0a62828fc1
BLAKE2b-256 checksum
How to use checksums
fc0c226dc2678af3af58b2f482e5e0041a69c271f9cd4186c33b3d9e323ea13b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2024.

Transparency log

Security for ga4gh.cat-vrs 0.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ga4gh_cat_vrs-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2024.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page