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:
| ga4gh.vrsatile.pydantic branch | ga4gh.vrsatile.pydantic version | VRS version | VRSATILE version |
|---|---|---|---|
| main | 0.2.X | 1.X.X | main |
| metaschema-update | 0.1.X | metaschema-update | metaschema-update |
Installation
vrsatile-pydantic is available via PyPI:
pip install ga4gh.vrsatile.pydantic
Developer Instructions
Following are sections include instructions specifically for developers.
Installation
For a development install, we recommend using Pipenv. See the pipenv docs for direction on installing pipenv in your compute environment.
Once installed, clone the repo and initialize the environment:
git clone https://github.com/ga4gh/vrsatile-pydantic
cd vrsatile-pydantic
pipenv shell
pipenv update
pipenv install --dev
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 tests
Metadata
Release files for ga4gh.vrsatile.pydantic 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ga4gh.vrsatile.pydantic-0.2.0.tar.gz | 12.8 kB | Without provenance | Details for ga4gh.vrsatile.pydantic-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ga4gh.vrsatile.pydantic-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for ga4gh.vrsatile.pydantic-0.2.0-py3-none-any.whl |
Total release size: 25.5 kB
Release files / ga4gh.vrsatile.pydantic-0.2.0.tar.gz
| Download URL | ga4gh.vrsatile.pydantic-0.2.0.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3468a44152cdee4f866b5eae4bdd6fb3005a35a4f462e1cd83b6a792ba570150
|
|
BLAKE2b-256 checksum How to use checksums |
6e7029d8386b74a1ac26d6c6b213c73b37b6439cdc95275f38f744b600858107
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / ga4gh.vrsatile.pydantic-0.2.0-py3-none-any.whl
| Download URL | ga4gh.vrsatile.pydantic-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21c3e1fe3b9f5b468ec2da35b4177a4b124799ce4f71121a65a9ad1b316d5ad4
|
|
BLAKE2b-256 checksum How to use checksums |
641da5d4574672d4dddbb9bb233897f1abede6e533b517af1b7fb6cdaec5d8d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for ga4gh.vrsatile.pydantic 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.