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

Uploaded Source

Built Distribution

ga4gh.vrsatile.pydantic-0.0.11-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file ga4gh.vrsatile.pydantic-0.0.11.tar.gz.

File metadata

File hashes

Hashes for ga4gh.vrsatile.pydantic-0.0.11.tar.gz
Algorithm Hash digest
SHA256 ce7596004cfdd76b519c4ea03153e49da568526dfceb15b290f4ede873dd7f7d
MD5 528de39172f85084a39b370ddb09c294
BLAKE2b-256 e7152cffa9e2375d7d931ccbb43c4309f5bb8be6fbb1ebc43008a9856a61c563

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for ga4gh.vrsatile.pydantic-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 44d2ec4462ebad71f9f280e0b7415299ab7caf61b25cc6529c4f057f1e6be96d
MD5 db2d787bcaf1b10e843000d7f39b1327
BLAKE2b-256 a6c115efd5445e114a29c6fd51610f7f6d46a497eb3279d196aacafaafd541fb

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