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 v1.2.0 and VRSATILE schemas to a Pydantic data model

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.dev1.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

ga4gh.vrsatile.pydantic-0.1.dev1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file ga4gh.vrsatile.pydantic-0.1.dev1.tar.gz.

File metadata

File hashes

Hashes for ga4gh.vrsatile.pydantic-0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 021a626e14bf4d42bd0ffcc343bc5681a3cf87a1049a9eeb647e9150e4f575b7
MD5 42f4afa633216d5f086b20308e9b2cab
BLAKE2b-256 930637349a6d0b86f9b3f78826eb5f88b6cc226972761dfcd7e2489296ff4f5e

See more details on using hashes here.

File details

Details for the file ga4gh.vrsatile.pydantic-0.1.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for ga4gh.vrsatile.pydantic-0.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 73996740284dcfa9b3ec5c09535f312edc4594744a4497e64d16788502002e90
MD5 4265871c36d41a38728b12489e3dd4d9
BLAKE2b-256 6161c2672cbf5e9b6a9bb1f6e1aaf8a8e6b74d0559f55f8dd66b172fb15821ee

See more details on using hashes here.

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