"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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ga4gh.vrsatile.pydantic-0.1.0.dev7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d79bf0e3417279786288544e0ff8c5dd6d5c3c5ca315e450c938defd74fca49 |
|
MD5 | 219536eadc87eec7cf90c3178c62ec27 |
|
BLAKE2b-256 | 8764b43b74264fb6bcd7ee5c1399eb957f2cf10466454da988046f8e2ffd58da |
Hashes for ga4gh.vrsatile.pydantic-0.1.0.dev7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d358e25be10fc54f99780cf75f43ca3415d56cd02664e3e7f2b3a896ec69122 |
|
MD5 | ef512548d53c7029a7319f534cac65ea |
|
BLAKE2b-256 | 74c8058cd53d17377aa6566288c0077a494066502ecf8bedfcf572f584c11321 |