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

Uploaded Source

Built Distribution

ga4gh.vrsatile.pydantic-0.0.5-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ga4gh.vrsatile.pydantic-0.0.5.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for ga4gh.vrsatile.pydantic-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b9654e9dca345a7f5c36e3c2b0d9cb81f9d7fdbd4bed8d6f6da3c464b8e59ae1
MD5 52ec1a638b375c18d1900739818a712a
BLAKE2b-256 f92363a968cfef8b364fbea1d8f66a68dee0ad305d150024e03ceb277246d8ed

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ga4gh.vrsatile.pydantic-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for ga4gh.vrsatile.pydantic-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6157f380b9f010529c1c27a2492cd8205ab8cdae22933e94c293ccff4da05742
MD5 a9c1609bd2b77903b4b8839b69841788
BLAKE2b-256 a103c164f1a3ed24e6591634fee1de93760aef91e1303a61ebb0cf24bb574d3b

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