Skip to main content

Read-only Python bindings for the fqxv FASTQ archiver

Project description

fqxv (Python)

Read-only Python bindings for fqxv, a Rust toolkit for lossless FASTQ archiving.

import fqxv

# Stream records (works on every layout, including reordered archives)
for rec in fqxv.open("reads.fqxv"):
    print(rec.name, rec.sequence, rec.quality)  # all bytes

# In-memory input works too
data = open("reads.fqxv", "rb").read()
n = sum(1 for _ in fqxv.open(data))

# Whole-archive convenience
fqxv.decompress_to_path("reads.fqxv", "reads.fastq")
raw = fqxv.decompress_to_bytes("reads.fqxv")
info = fqxv.inspect("reads.fqxv")
print(info.reads, info.format_version, info.platform)

# Column projection / random access (plain layout only)
idx = fqxv.open_index("reads.fqxv")
seqs = fqxv.read_sequences("reads.fqxv")        # list[bytes], skips quality
ids = fqxv.read_names("reads.fqxv", groups=[0]) # just the first row group
block0 = fqxv.read_block("reads.fqxv", 0)       # list[Record]

Projection and open_index are unavailable for globally-reordered archives (--order shuffle), whose streams are mutually dependent; use fqxv.open() to iterate those. Everything here is read-only — compression stays in the CLI.

Build from source

uv pip install maturin
maturin develop            # from crates/fqxv-python/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fqxv-0.4.0.tar.gz (411.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fqxv-0.4.0-cp39-abi3-win_amd64.whl (298.4 kB view details)

Uploaded CPython 3.9+Windows x86-64

fqxv-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (409.9 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

fqxv-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (385.4 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

fqxv-0.4.0-cp39-abi3-macosx_11_0_arm64.whl (347.8 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

fqxv-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl (377.1 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file fqxv-0.4.0.tar.gz.

File metadata

  • Download URL: fqxv-0.4.0.tar.gz
  • Upload date:
  • Size: 411.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for fqxv-0.4.0.tar.gz
Algorithm Hash digest
SHA256 dc04aa7271f5d6406d0a0b446cea069f4b8486afa86516ba76ba7738256b7196
MD5 21c0227fc3af15d61a5c0393927994b9
BLAKE2b-256 9af415791c62dc5201b2cd73f28ca48152682e5da3efc6ddb910806096a88ec1

See more details on using hashes here.

Provenance

The following attestation bundles were made for fqxv-0.4.0.tar.gz:

Publisher: wheels.yml on rnabioco/fqxv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fqxv-0.4.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: fqxv-0.4.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 298.4 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for fqxv-0.4.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 364e58564c322f62fb1e66b73b375393b38432a0c05c018f2455cd0658040f87
MD5 fb4d5235decc46c09c971536d234f15d
BLAKE2b-256 1b5f5a25c73b1b692ed543c0a05483171b4cd6bb7f7a77ace3e858e5b3533ba8

See more details on using hashes here.

Provenance

The following attestation bundles were made for fqxv-0.4.0-cp39-abi3-win_amd64.whl:

Publisher: wheels.yml on rnabioco/fqxv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fqxv-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fqxv-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 049cb3cd1f40221767dfe335e1b2b8974eab1f3148d4fb7416f589b628db6e27
MD5 72572504b105312850568cf6018c753d
BLAKE2b-256 138a74c33d130bf12ed3916dc031bd19a37c9e1fa6a664d908d387c71af0621b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fqxv-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on rnabioco/fqxv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fqxv-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fqxv-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bd58a9611beacaaecd4e263f0bbc28bd9a280a06b7905ff881bbfb290dfc4d24
MD5 df51ab59a732978dd4494d483920dce4
BLAKE2b-256 6f1e69fe651e013236e402498eadaba857078c0418e60ac5f5345a12bde95645

See more details on using hashes here.

Provenance

The following attestation bundles were made for fqxv-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: wheels.yml on rnabioco/fqxv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fqxv-0.4.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fqxv-0.4.0-cp39-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 347.8 kB
  • Tags: CPython 3.9+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for fqxv-0.4.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 06d652aef9ac603975b935e602e1c5adb1949088bbbc485a575e8c5616280f78
MD5 4cefbf40ad8e8964bcf31d9232d12ad9
BLAKE2b-256 851aa15dca908b54087c96b9e958146e345a8f1ba8442802348425ba924d6848

See more details on using hashes here.

Provenance

The following attestation bundles were made for fqxv-0.4.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: wheels.yml on rnabioco/fqxv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fqxv-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: fqxv-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 377.1 kB
  • Tags: CPython 3.9+, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for fqxv-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c5fcd042da6c3e8ed91c49eb0574253261c7c8272d3bc0d9efbbaf6210858401
MD5 36fa1f46ccaf14255b3130a0c14d7dff
BLAKE2b-256 11c24fe161b8fcc11097124c4ce4cfe8a9789f8be46460ce9626efa12abb6554

See more details on using hashes here.

Provenance

The following attestation bundles were made for fqxv-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl:

Publisher: wheels.yml on rnabioco/fqxv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page