This project has been archived by its maintainers, and is no longer receiving any updates.
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
Metadata
Release files for ga4gh.vrsatile.pydantic 0.1.0.dev7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ga4gh.vrsatile.pydantic-0.1.0.dev7.tar.gz | 12.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ga4gh.vrsatile.pydantic-0.1.0.dev7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.8 kB
Release files / ga4gh.vrsatile.pydantic-0.1.0.dev7.tar.gz
| Download URL | ga4gh.vrsatile.pydantic-0.1.0.dev7.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d79bf0e3417279786288544e0ff8c5dd6d5c3c5ca315e450c938defd74fca49
|
|
BLAKE2b-256 checksum How to use checksums |
8764b43b74264fb6bcd7ee5c1399eb957f2cf10466454da988046f8e2ffd58da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / ga4gh.vrsatile.pydantic-0.1.0.dev7-py3-none-any.whl
| Download URL | ga4gh.vrsatile.pydantic-0.1.0.dev7-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d358e25be10fc54f99780cf75f43ca3415d56cd02664e3e7f2b3a896ec69122
|
|
BLAKE2b-256 checksum How to use checksums |
74c8058cd53d17377aa6566288c0077a494066502ecf8bedfcf572f584c11321
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|