Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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 DOI

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.8.0a6

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.8.0a6
File Size Uploaded
ga4gh_cat_vrs-0.8.0a6.tar.gz 9.0 MB Details

Built distribution (wheel)

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

Total release size: 9.0 MB

Release files / ga4gh_cat_vrs-0.8.0a6.tar.gz

Download URL ga4gh_cat_vrs-0.8.0a6.tar.gz
Size 9.0 MB
Tags Source
SHA-256 checksum
How to use checksums
8720fd3104a679853b63eee5b5bd5229fd279105f5d9d08d00dc2de7e7a86700
BLAKE2b-256 checksum
How to use checksums
f3814178a0d7fe2ab3ed2c07679bb08a7f18089620c149163e13bd13017d91a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / ga4gh_cat_vrs-0.8.0a6-py3-none-any.whl

Download URL ga4gh_cat_vrs-0.8.0a6-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d9fb48dda3bb4ddb250e042716d0aaa679ee963e281f9609de6d979a774941c
BLAKE2b-256 checksum
How to use checksums
ee95ef1e41a832bfdecc20b757714aa23e9bd977517040bc0f9add0807a01171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5
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