Skip to main content

nanofastq

License Python Versions Package Version CodSpeed

Tiny FASTQ reader (C + nanoarrow) exposing __arrow_c_stream__.

import pyarrow as pa
from nanofastq import read_fastq

table = pa.table(read_fastq("reads.fastq.gz"))

Examples

Load into DuckDB

import duckdb
from nanofastq import read_fastq

duckdb.register("fastq", read_fastq("example.fastq"))
duckdb.sql("select * from fastq").fetchall()

Load into a Polars dataframe

Note: this also requires installing PyArrow.

import polars as pl
from nanofastq import read_fastq

df = pl.DataFrame(read_fastq("example.fastq"))

Development

Run the tests and the type check with ty (requires Tox):

tox p

Performance is tracked with CodSpeed. Running the benchmarks locally only checks that they work; the reported numbers come from CI:

uv run pytest benchmarks/test_perf.py --codspeed

Releasing

The version is derived from git tags with setuptools-scm; there is no version to edit in pyproject.toml. Release Drafter keeps a draft GitHub release up to date from merged pull requests (their labels pick the section and the next version). To release, review the draft and publish it: that creates the vX.Y.Z tag, builds the wheels and uploads them to PyPI (see .github/workflows/wheels.yml). Untagged commits get development versions such as 0.1.dev12+gabc1234.

License

MIT. The wheels also contain nanoarrow (Apache-2.0), nanobind (BSD-3-Clause) and, on Windows, zlib; their notices are in THIRD_PARTY_NOTICES.txt.

Metadata

Release files for nanofastq 0.0.4

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

Source distribution (sdist)

Source distribution for nanofastq 0.0.4
File Size Uploaded Provenance Actions
nanofastq-0.0.4.tar.gz 30.8 kB With provenance Details for nanofastq-0.0.4.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for nanofastq 0.0.4
File Actions
nanofastq-0.0.4-cp314-cp314-pyemscripten_2026_0_wasm32.whl CPython 3.14 CPython 3.14 PyEmscripten 2026.0+ WebAssembly Details for nanofastq-0.0.4-cp314-cp314-pyemscripten_2026_0_wasm32.whl
nanofastq-0.0.4-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for nanofastq-0.0.4-cp312-abi3-win_amd64.whl
nanofastq-0.0.4-cp312-abi3-musllinux_1_2_x86_64.whl CPython 3.12 abi3 Linux musl 1.2+ x86-64 Details for nanofastq-0.0.4-cp312-abi3-musllinux_1_2_x86_64.whl
nanofastq-0.0.4-cp312-abi3-musllinux_1_2_aarch64.whl CPython 3.12 abi3 Linux musl 1.2+ ARM64 Details for nanofastq-0.0.4-cp312-abi3-musllinux_1_2_aarch64.whl
nanofastq-0.0.4-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for nanofastq-0.0.4-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
nanofastq-0.0.4-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.26+ ARM64, Linux glibc 2.28+ ARM64 Details for nanofastq-0.0.4-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
nanofastq-0.0.4-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for nanofastq-0.0.4-cp312-abi3-macosx_11_0_arm64.whl
nanofastq-0.0.4-cp312-abi3-macosx_10_13_x86_64.whl CPython 3.12 abi3 macOS 10.13+ x86-64 Details for nanofastq-0.0.4-cp312-abi3-macosx_10_13_x86_64.whl

Total release size: 2.2 MB

Release files / nanofastq-0.0.4.tar.gz

Download URL nanofastq-0.0.4.tar.gz
Size 30.8 kB
Tags Source
SHA-256 checksum
How to use checksums
369896af899d758919653047ca7933c4274a89350748f9e3fc6df21e412d2b65
BLAKE2b-256 checksum
How to use checksums
8c4394724135d49ae77ce58b71a46920539b9146028de188ceef6564925dc32b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / nanofastq-0.0.4-cp314-cp314-pyemscripten_2026_0_wasm32.whl

Download URL nanofastq-0.0.4-cp314-cp314-pyemscripten_2026_0_wasm32.whl
Size 48.9 kB
Tags CPython 3.14 PyEmscripten 2026.0+ WebAssembly
SHA-256 checksum
How to use checksums
30ac242537682025c41675636d07834e4acdec7da5e7d1318a9922a75d45d53a
BLAKE2b-256 checksum
How to use checksums
671a840ea7748c3b9a2e0e9db5a1541d9ea40f8a3bab97038c235bd7e352acea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / nanofastq-0.0.4-cp312-abi3-win_amd64.whl

Download URL nanofastq-0.0.4-cp312-abi3-win_amd64.whl
Size 367.3 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4d4db11c4430bdff6df26018ec70170b025cdc6aae6c072b8809d984aed1d55f
BLAKE2b-256 checksum
How to use checksums
cc7e3d7dd65f04897cf659c4234c37e770b8eeb32abc3430329de077fc7dca74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / nanofastq-0.0.4-cp312-abi3-musllinux_1_2_x86_64.whl

Download URL nanofastq-0.0.4-cp312-abi3-musllinux_1_2_x86_64.whl
Size 632.1 kB
Tags CPython 3.12 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
880ca352b87335bca0322d330c2ffbe5c0da80904fdbcd9a0fe760af0b6bb311
BLAKE2b-256 checksum
How to use checksums
207348c71435720a847d1d049cc5565babdc213b57bb63f0d8803b32e2a357b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / nanofastq-0.0.4-cp312-abi3-musllinux_1_2_aarch64.whl

Download URL nanofastq-0.0.4-cp312-abi3-musllinux_1_2_aarch64.whl
Size 594.7 kB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
0bfe0efd064a26c60f836e12fb20c2c3ef93244d15b4998784f157def0f36247
BLAKE2b-256 checksum
How to use checksums
2750e3d0df98033e31a920a8d72a4566d7d7a931301efc1dd49cb081139e8069
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / nanofastq-0.0.4-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL nanofastq-0.0.4-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 175.2 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
f065eb485b9f9f3a14940667a775bc1cc4ef3dfd8f7edb0a51ef3648dee0bb87
BLAKE2b-256 checksum
How to use checksums
8cd9b166737bfc85bca425cf59d6fb58b55cf335e09d480b29341b82eddb1d63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / nanofastq-0.0.4-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL nanofastq-0.0.4-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 153.4 kB
Tags CPython 3.12 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
2c8d4efe0a49cebbcecdbdd4e323cc2a7f0c2acb23c3e018d32b1ac852bcc769
BLAKE2b-256 checksum
How to use checksums
852faf1d7ce0899b8f80341b1a6f94eac9b0d645ab1d2e100042207b0d11e245
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / nanofastq-0.0.4-cp312-abi3-macosx_11_0_arm64.whl

Download URL nanofastq-0.0.4-cp312-abi3-macosx_11_0_arm64.whl
Size 75.0 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6386125e729ec43590dd4a2841124385efa21e2d676b1ab522d2348256bd8bd8
BLAKE2b-256 checksum
How to use checksums
96bafe067a14d41976fdd06f939847e75171fb09bb072c8c6b3bda94167f087b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / nanofastq-0.0.4-cp312-abi3-macosx_10_13_x86_64.whl

Download URL nanofastq-0.0.4-cp312-abi3-macosx_10_13_x86_64.whl
Size 87.0 kB
Tags CPython 3.12 abi3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
f9aca6b1da770cf7caaac4420f2274ceb437545c0d5d13238c7389482064c5a9
BLAKE2b-256 checksum
How to use checksums
bd6465497656b5cb664768e6862732317f3f0c63b50f6d209de7f40880835367
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Security for nanofastq 0.0.4

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 9 files in this release have been uploaded with provenance metadata.

Select from 9 files

Attestation for nanofastq-0.0.4.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 Nov 18, 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