Hybrid Rust/Python library for parsing HGVS variants.
Project description
tinyhgvs
tinyhgvs is a lightweight HGVS parsing Python library backed by a core parser and
structured data and error model implemented in Rust.
Installation
tinyhgvs can be installed directly from PyPI:
pip install tinyhgvs
Quick start
- A splicing-site substitution crossing exon/intron boundary:
from tinyhgvs import parse_hgvs
variant = parse_hgvs("NM_004006.2:c.357+1G>A")
print(variant.reference.primary.id)
print(variant.coordinate_system.value)
print(variant.description.location.start.coordinate)
print(variant.description.location.start.offset)
- Known but unsupported HGVS syntax raises
TINYHGVSErrorwith diagnostic code:
from tinyhgvs import TinyHGVSError, parse_hgvs
try:
parse_hgvs("NC_000001.11:g.[123G>A;345del]")
except TinyHGVSError as error:
print(error.code)
Documentation
Please refer to official documents for details about both Python and Rust APIs:
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 Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tinyhgvs-0.6.2.tar.gz.
File metadata
- Download URL: tinyhgvs-0.6.2.tar.gz
- Upload date:
- Size: 106.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16c8a1f313385319e786bcd09284fb44c47680a4936cb2acef8b805b2b1da6fb
|
|
| MD5 |
22f6c25172d20cadbbf2f1f1cf00c728
|
|
| BLAKE2b-256 |
011d86da8b23967436e15ad1b7ed8510c753e594d07fc3e556c76b8bc50b88c9
|
Provenance
The following attestation bundles were made for tinyhgvs-0.6.2.tar.gz:
Publisher:
release-python.yml on svm-zhang/tinyhgvs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tinyhgvs-0.6.2.tar.gz -
Subject digest:
16c8a1f313385319e786bcd09284fb44c47680a4936cb2acef8b805b2b1da6fb - Sigstore transparency entry: 1437828466
- Sigstore integration time:
-
Permalink:
svm-zhang/tinyhgvs@6518cb8f23ef42688b80316659d416acca0a2961 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/svm-zhang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@6518cb8f23ef42688b80316659d416acca0a2961 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tinyhgvs-0.6.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tinyhgvs-0.6.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 324.1 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa7590c7d1d0853ef31f99105fdefc32444508d364c0165359b9db5c6d971dbe
|
|
| MD5 |
623f549f1afa36d629c2ac5b7567d1d9
|
|
| BLAKE2b-256 |
b9f77c988d119aa157f7c3d7acd95dcae4a0b1bf2ae65a5c102a327ada13e3e7
|
Provenance
The following attestation bundles were made for tinyhgvs-0.6.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release-python.yml on svm-zhang/tinyhgvs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tinyhgvs-0.6.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
aa7590c7d1d0853ef31f99105fdefc32444508d364c0165359b9db5c6d971dbe - Sigstore transparency entry: 1437828671
- Sigstore integration time:
-
Permalink:
svm-zhang/tinyhgvs@6518cb8f23ef42688b80316659d416acca0a2961 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/svm-zhang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@6518cb8f23ef42688b80316659d416acca0a2961 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tinyhgvs-0.6.2-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: tinyhgvs-0.6.2-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 288.4 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aae3de1d56c60763980a1d4a0b1980db3d0d58c58d6f919c8a8759f9b5ce7a1
|
|
| MD5 |
64d91eb58cfb708e7acb9faf4905aae1
|
|
| BLAKE2b-256 |
50ef44d2e9d1739a0ee34f3462eb90c8fa2a100aef77c1d24a94a85756d661a8
|
Provenance
The following attestation bundles were made for tinyhgvs-0.6.2-cp313-cp313-macosx_11_0_arm64.whl:
Publisher:
release-python.yml on svm-zhang/tinyhgvs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tinyhgvs-0.6.2-cp313-cp313-macosx_11_0_arm64.whl -
Subject digest:
5aae3de1d56c60763980a1d4a0b1980db3d0d58c58d6f919c8a8759f9b5ce7a1 - Sigstore transparency entry: 1437828749
- Sigstore integration time:
-
Permalink:
svm-zhang/tinyhgvs@6518cb8f23ef42688b80316659d416acca0a2961 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/svm-zhang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@6518cb8f23ef42688b80316659d416acca0a2961 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tinyhgvs-0.6.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tinyhgvs-0.6.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 324.4 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fbb6ee7b746909ca2db463a6eb9b6dea6fb8c89091a614770a71815fb8bd27d
|
|
| MD5 |
85f3e17291cce39f534294c38c1c3e53
|
|
| BLAKE2b-256 |
72f3f3779eb1f6f25dddc994ddd27d2ebfc241547a173dcbd77aab8ef8dd09c9
|
Provenance
The following attestation bundles were made for tinyhgvs-0.6.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release-python.yml on svm-zhang/tinyhgvs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tinyhgvs-0.6.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
3fbb6ee7b746909ca2db463a6eb9b6dea6fb8c89091a614770a71815fb8bd27d - Sigstore transparency entry: 1437828631
- Sigstore integration time:
-
Permalink:
svm-zhang/tinyhgvs@6518cb8f23ef42688b80316659d416acca0a2961 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/svm-zhang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@6518cb8f23ef42688b80316659d416acca0a2961 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tinyhgvs-0.6.2-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: tinyhgvs-0.6.2-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 288.4 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47f15e97ea5e726307e996472f8b64175ee2accbc5ae10e441959c0e1e28c5ce
|
|
| MD5 |
6ca322f8dd46f69abad00ff9fdab2d28
|
|
| BLAKE2b-256 |
c71a06d3901f7c8b6ac99c7c12ff8df7b962ffd51e007d4307d31a958fb89195
|
Provenance
The following attestation bundles were made for tinyhgvs-0.6.2-cp312-cp312-macosx_11_0_arm64.whl:
Publisher:
release-python.yml on svm-zhang/tinyhgvs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tinyhgvs-0.6.2-cp312-cp312-macosx_11_0_arm64.whl -
Subject digest:
47f15e97ea5e726307e996472f8b64175ee2accbc5ae10e441959c0e1e28c5ce - Sigstore transparency entry: 1437828489
- Sigstore integration time:
-
Permalink:
svm-zhang/tinyhgvs@6518cb8f23ef42688b80316659d416acca0a2961 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/svm-zhang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@6518cb8f23ef42688b80316659d416acca0a2961 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tinyhgvs-0.6.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tinyhgvs-0.6.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 324.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e05e5a88d6848c8943be013fda21a1a66c59006bcae158edd97e68446a87ad1
|
|
| MD5 |
15333ce240213cc378e5a41ea2ca0b2a
|
|
| BLAKE2b-256 |
1aa2b065bd9af3c045c29849039b52213fca205e0412034bc624cddb0077b742
|
Provenance
The following attestation bundles were made for tinyhgvs-0.6.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release-python.yml on svm-zhang/tinyhgvs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tinyhgvs-0.6.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
9e05e5a88d6848c8943be013fda21a1a66c59006bcae158edd97e68446a87ad1 - Sigstore transparency entry: 1437828706
- Sigstore integration time:
-
Permalink:
svm-zhang/tinyhgvs@6518cb8f23ef42688b80316659d416acca0a2961 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/svm-zhang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@6518cb8f23ef42688b80316659d416acca0a2961 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tinyhgvs-0.6.2-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: tinyhgvs-0.6.2-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 290.9 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25c29a5fd638bb4788e734f3fb5c951cc2e8f1727ff4c6f5288cb6f2182fdc64
|
|
| MD5 |
6612b9c4e75c7621fa0c089b36d4a58f
|
|
| BLAKE2b-256 |
795986be772b88dd92a92d396b1295a939e8a402b7ddcd501cd53e7bf306d6ae
|
Provenance
The following attestation bundles were made for tinyhgvs-0.6.2-cp311-cp311-macosx_11_0_arm64.whl:
Publisher:
release-python.yml on svm-zhang/tinyhgvs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tinyhgvs-0.6.2-cp311-cp311-macosx_11_0_arm64.whl -
Subject digest:
25c29a5fd638bb4788e734f3fb5c951cc2e8f1727ff4c6f5288cb6f2182fdc64 - Sigstore transparency entry: 1437828518
- Sigstore integration time:
-
Permalink:
svm-zhang/tinyhgvs@6518cb8f23ef42688b80316659d416acca0a2961 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/svm-zhang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@6518cb8f23ef42688b80316659d416acca0a2961 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tinyhgvs-0.6.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tinyhgvs-0.6.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 325.5 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5b94bf8b7e2ac28835e823a9ecc4d7b0cff2bf18dfe5dda7f50b1e7a7d87bab
|
|
| MD5 |
746c42b86134d4ebfbdc386770ef0acd
|
|
| BLAKE2b-256 |
dfb83e276e4045e4a4d43decfd630615d7108f37ea9bc6b78ac6cffa762b0c9e
|
Provenance
The following attestation bundles were made for tinyhgvs-0.6.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release-python.yml on svm-zhang/tinyhgvs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tinyhgvs-0.6.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
d5b94bf8b7e2ac28835e823a9ecc4d7b0cff2bf18dfe5dda7f50b1e7a7d87bab - Sigstore transparency entry: 1437828550
- Sigstore integration time:
-
Permalink:
svm-zhang/tinyhgvs@6518cb8f23ef42688b80316659d416acca0a2961 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/svm-zhang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@6518cb8f23ef42688b80316659d416acca0a2961 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tinyhgvs-0.6.2-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: tinyhgvs-0.6.2-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 292.3 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5065c19cf5776204c8d630079b6d89312af37164d9f1a7a139e0d0c1f69dd084
|
|
| MD5 |
873ae4732422b0a64e4e543cdc0554e7
|
|
| BLAKE2b-256 |
f8cece99ff81b1e9d39bae6a5072d0c6ce2c60a9899b95ebbba3be6e563c385f
|
Provenance
The following attestation bundles were made for tinyhgvs-0.6.2-cp310-cp310-macosx_11_0_arm64.whl:
Publisher:
release-python.yml on svm-zhang/tinyhgvs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tinyhgvs-0.6.2-cp310-cp310-macosx_11_0_arm64.whl -
Subject digest:
5065c19cf5776204c8d630079b6d89312af37164d9f1a7a139e0d0c1f69dd084 - Sigstore transparency entry: 1437828589
- Sigstore integration time:
-
Permalink:
svm-zhang/tinyhgvs@6518cb8f23ef42688b80316659d416acca0a2961 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/svm-zhang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@6518cb8f23ef42688b80316659d416acca0a2961 -
Trigger Event:
push
-
Statement type: