Skip to main content

"Translation of the GA4GH VRS and VRSATILE Schemas to a Pydantic data model"

Project description

vrsatile-pydantic

Translation of the GA4GH VRS and VRSATILE schemas to a Pydantic data model

The ga4gh/vrsatile/pydantic repo depends on VRS and VRSATILE models, and therefore each ga4gh.vrsatile.pydantic package on PyPI uses a particular version of VRS and VRSATILE. The correspondences between the packages may be summarized as:

  • 0.0.X ~ 1.2.X: ga4gh.vrsatile.pydantic 0.0.X tracks VRS 1.2.X and the VRSATILE latest
  • 0.1.X ~ metaschema-updates: ga4gh.vrsatile.pydantic 0.1.X tracks VRS and VRSATILE metaschema-updates

Developer instructions

To install vrstaile-pydantic:

pip install ga4gh.vrsatile.pydantic

Following are sections include instructions specifically for developers.

For a development install, we recommend using Pipenv. See the pipenv docs for direction on installing pipenv in your compute environment.

Once installed, from the project root dir, just run:

pipenv lock
pipenv sync

Init coding style tests

Code style is managed by flake8 and checked prior to commit.

We use pre-commit to run conformance tests.

This ensures:

  • Check code style
  • Check for added large files
  • Detect AWS Credentials
  • Detect Private Key

Before first commit run:

pre-commit install

Running unit tests

Running unit tests is as easy as pytest.

pipenv run pytest

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.vrsatile.pydantic-0.1.0.dev7.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file ga4gh.vrsatile.pydantic-0.1.0.dev7.tar.gz.

File metadata

File hashes

Hashes for ga4gh.vrsatile.pydantic-0.1.0.dev7.tar.gz
Algorithm Hash digest
SHA256 6d79bf0e3417279786288544e0ff8c5dd6d5c3c5ca315e450c938defd74fca49
MD5 219536eadc87eec7cf90c3178c62ec27
BLAKE2b-256 8764b43b74264fb6bcd7ee5c1399eb957f2cf10466454da988046f8e2ffd58da

See more details on using hashes here.

Provenance

File details

Details for the file ga4gh.vrsatile.pydantic-0.1.0.dev7-py3-none-any.whl.

File metadata

File hashes

Hashes for ga4gh.vrsatile.pydantic-0.1.0.dev7-py3-none-any.whl
Algorithm Hash digest
SHA256 4d358e25be10fc54f99780cf75f43ca3415d56cd02664e3e7f2b3a896ec69122
MD5 ef512548d53c7029a7319f534cac65ea
BLAKE2b-256 74c8058cd53d17377aa6566288c0077a494066502ecf8bedfcf572f584c11321

See more details on using hashes here.

Provenance

Supported by

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