Skip to main content

GA4GH Categorical Variation Representation (Cat-VRS) reference implementation

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ga4gh_cat_vrs-0.6.0.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ga4gh_cat_vrs-0.6.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file ga4gh_cat_vrs-0.6.0.tar.gz.

File metadata

  • Download URL: ga4gh_cat_vrs-0.6.0.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ga4gh_cat_vrs-0.6.0.tar.gz
Algorithm Hash digest
SHA256 f19ff8c6fb4a70924409cbac3b23eb73e30cc46c00a14b1b888391bbaf53f9b5
MD5 c3228b7798ccf61df9570fce82ded564
BLAKE2b-256 a6dfb0e2ddfb24c1afd96b00f1e0ecc154c8a2723bf7277ca52148b00695271a

See more details on using hashes here.

Provenance

The following attestation bundles were made for ga4gh_cat_vrs-0.6.0.tar.gz:

Publisher: release.yaml on ga4gh/cat-vrs-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ga4gh_cat_vrs-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: ga4gh_cat_vrs-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ga4gh_cat_vrs-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5994cd5d06b17c744b154cf55ec30b99a3c9885ea25d94f3633b85c02c4f2576
MD5 17b6dfe9383fb29238f4a096b1a88cbf
BLAKE2b-256 c372709014f0db9d3cca7b5f6ecb609a2e2265ee158498c04bf14a4c053b61d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ga4gh_cat_vrs-0.6.0-py3-none-any.whl:

Publisher: release.yaml on ga4gh/cat-vrs-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page