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

Uploaded Source

Built Distribution

ga4gh.vrsatile.pydantic-0.0.9-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ga4gh.vrsatile.pydantic-0.0.9.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for ga4gh.vrsatile.pydantic-0.0.9.tar.gz
Algorithm Hash digest
SHA256 7017ef07f38080e3483cd62b04b9d364ae317ac8aa6bb8ac4458a68e336aba3c
MD5 2f3c8f697be59b745f2cc44621aeb3f1
BLAKE2b-256 0815c91d38bdde704c91b2524faa1aa129b4a6e0862a7774927a605602a4b8b0

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ga4gh.vrsatile.pydantic-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for ga4gh.vrsatile.pydantic-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ab8117efb610e79d978ecfe8bb004f468e6bc518a7c67cedbcd2898a16792e3f
MD5 974adaf2324627b9b3aafc73471408e7
BLAKE2b-256 b4e0e3a9fd9cb6bcf05cb7461dffe25dd12a1a6728dc3ede8d9377c22c1bf6f7

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