Skip to main content

genomic-attribute-index Python bindings

The gai package wraps the Rust Genomic Attribute Index builder and indexed reader. It provides deterministic GAI construction, TBI/CSI-backed exact, prefix, contains, or regex attribute queries, structured records and metadata, and typed exceptions for stale or corrupt inputs.

from pathlib import Path
import gai

gai.sort(Path("annotations.gff3.gz"), Path("annotations.sorted.gff3"))

source = Path("annotations.gff3.gz")
tbi = Path("annotations.gff3.gz.tbi")
gai.build_index(source, tbi, Path("annotations.gff3.gz.gai"), ["Name"])
records = gai.query_index(source, tbi, Path("annotations.gff3.gz.gai"), "BRCA1")
prefix_records = gai.query_index(
    source, tbi, Path("annotations.gff3.gz.gai"), "BRCA", match="prefix"
)
contains_records = gai.query_index(
    source, tbi, Path("annotations.gff3.gz.gai"), "RCA", match="contains"
)
regex_records = gai.query_index(
    source, tbi, Path("annotations.gff3.gz.gai"), r"^BRCA[0-9]+$", match="regex"
)

See the repository README for the complete API and development instructions.

Metadata

Release files for genomic-attribute-index 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genomic-attribute-index 0.2.3
File Size Uploaded Provenance Actions
genomic_attribute_index-0.2.3.tar.gz 122.7 kB With provenance Details for genomic_attribute_index-0.2.3.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for genomic-attribute-index 0.2.3
File Actions
genomic_attribute_index-0.2.3-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for genomic_attribute_index-0.2.3-cp310-abi3-win_amd64.whl
genomic_attribute_index-0.2.3-cp310-abi3-manylinux_2_34_x86_64.whl CPython 3.10 abi3 Linux glibc 2.34+ x86-64 Details for genomic_attribute_index-0.2.3-cp310-abi3-manylinux_2_34_x86_64.whl
genomic_attribute_index-0.2.3-cp310-abi3-manylinux_2_34_aarch64.whl CPython 3.10 abi3 Linux glibc 2.34+ ARM64 Details for genomic_attribute_index-0.2.3-cp310-abi3-manylinux_2_34_aarch64.whl
genomic_attribute_index-0.2.3-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for genomic_attribute_index-0.2.3-cp310-abi3-macosx_11_0_arm64.whl
genomic_attribute_index-0.2.3-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for genomic_attribute_index-0.2.3-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 17.2 MB

Release files / genomic_attribute_index-0.2.3.tar.gz

Download URL genomic_attribute_index-0.2.3.tar.gz
Size 122.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5f45b1d57da178022dbadc9989403b0835dc28f551be2c31ab6dfc8acc3dfabe
BLAKE2b-256 checksum
How to use checksums
18e98fd4bd843f35fb95064260fb59d6dfd69a1abc1f635465489e467c79602b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / genomic_attribute_index-0.2.3-cp310-abi3-win_amd64.whl

Download URL genomic_attribute_index-0.2.3-cp310-abi3-win_amd64.whl
Size 2.9 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ea8e0fd2bfb9ec985d84e0418bb5d234f64b2ec728af0dbd005434ddf605b076
BLAKE2b-256 checksum
How to use checksums
27266fa6abc4e1934f3c7ef0168430252b07192fb706065e8f9c97f24049c146
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / genomic_attribute_index-0.2.3-cp310-abi3-manylinux_2_34_x86_64.whl

Download URL genomic_attribute_index-0.2.3-cp310-abi3-manylinux_2_34_x86_64.whl
Size 3.8 MB
Tags CPython 3.10 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
427256359c8edc6b3e58af93c63bcd90c9aa93342bec2ea987d18d2a03558737
BLAKE2b-256 checksum
How to use checksums
a3c3b705ec1c4f66045a4557a90271072ab79981464ae229c88e9c35afedcd83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / genomic_attribute_index-0.2.3-cp310-abi3-manylinux_2_34_aarch64.whl

Download URL genomic_attribute_index-0.2.3-cp310-abi3-manylinux_2_34_aarch64.whl
Size 3.7 MB
Tags CPython 3.10 Linux glibc 2.34+ ARM64 abi3
SHA-256 checksum
How to use checksums
fffdef572a3fe3200c90468e9db6d8a08c5a4b8ea33a19ec0400e2755df8e37a
BLAKE2b-256 checksum
How to use checksums
cb947a396f9e8e2eeb30068e3755f576fbdebf06cab5d01ee75982a65d56f65e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / genomic_attribute_index-0.2.3-cp310-abi3-macosx_11_0_arm64.whl

Download URL genomic_attribute_index-0.2.3-cp310-abi3-macosx_11_0_arm64.whl
Size 3.1 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c9eed075d932a1f7fcea4cc3cac53a7536493ea589c5900e9e93302910da7ef5
BLAKE2b-256 checksum
How to use checksums
0fda2eb28b4581ca85ab7d1528ba019d9bcdb3abb591a8c0110435c20ac35421
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / genomic_attribute_index-0.2.3-cp310-abi3-macosx_10_12_x86_64.whl

Download URL genomic_attribute_index-0.2.3-cp310-abi3-macosx_10_12_x86_64.whl
Size 3.5 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
6050a81fbd8b1f6b6e0b1bad81283113de24118fb62ec5ff07edc10f4439d77c
BLAKE2b-256 checksum
How to use checksums
2ac25cab2477baf3b4427e0676e77d1b2c358f7553c5756e48851f86763c5ce5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Security for genomic-attribute-index 0.2.3

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for genomic_attribute_index-0.2.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page