Skip to main content

Fast Python reader/writer for Oxford Nanopore POD5 files, backed by a pure Rust engine

Project description

escapepod

Fast Python reader/writer for Oxford Nanopore POD5 files, backed by a pure Rust engine (the same engine as the escpod CLI). It mirrors the API of Oxford Nanopore's official pod5 package closely enough to be a mostly drop-in replacement, while reading and writing considerably faster.

Alpha quality and under active development. APIs and output formats may change without notice. Verify results against the official ONT pod5 tools before relying on it for anything important.

Install

uv pip install escapepod

Wheels are published for CPython 3.9+ (abi3) on Linux (x86_64/aarch64, manylinux + musllinux) and macOS (x86_64/arm64).

Usage

import escapepod

with escapepod.Reader("experiment.pod5") as reader:
    print(f"{reader.read_count} reads")
    for read in reader:
        signal = reader.get_signal(read)          # raw ADC (int16)
        print(read.read_id, read.num_samples, signal.mean())

See the documentation for the full API.

License

MIT

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

escapepod-0.6.3.tar.gz (293.6 kB view details)

Uploaded Source

Built Distributions

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

escapepod-0.6.3-cp39-abi3-musllinux_1_2_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ x86-64

escapepod-0.6.3-cp39-abi3-musllinux_1_2_aarch64.whl (1.7 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

escapepod-0.6.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

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

escapepod-0.6.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.5 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

escapepod-0.6.3-cp39-abi3-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

escapepod-0.6.3-cp39-abi3-macosx_10_12_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file escapepod-0.6.3.tar.gz.

File metadata

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

File hashes

Hashes for escapepod-0.6.3.tar.gz
Algorithm Hash digest
SHA256 83dd7ac3ca665cb0744b5cb0186fb5a64d6cc73011b4b40bfb2be7cc5e1e39c5
MD5 e161616fcf301a237323f4f07583534d
BLAKE2b-256 63fb6639e9595a95c7e5915fc69f9ca4eb10e2b6b3244af63428bf2a68042a33

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.3.tar.gz:

Publisher: release.yml on rnabioco/escapepod-rs

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

File details

Details for the file escapepod-0.6.3-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for escapepod-0.6.3-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ae9d030893263814e6387ed45ec4a9aa576162a3e28000d72858376de772c299
MD5 da9e1143a93126fe9016f3d084aacb74
BLAKE2b-256 5b6a9684b363f965e7f04e23d4005597cfafc61db92ded4f8786c5803b238bb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.3-cp39-abi3-musllinux_1_2_x86_64.whl:

Publisher: release.yml on rnabioco/escapepod-rs

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

File details

Details for the file escapepod-0.6.3-cp39-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for escapepod-0.6.3-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5cf3757dcd636c88c47332bc1222ecb99c1d16b15a9a96e99568cf791e7cece0
MD5 5e4bb2ed79a7d6c6e958dc13f54383aa
BLAKE2b-256 3180f36a0b513fdfcff33fd2f2bc3184afaf4e5817685033f3271f82e8a29c31

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.3-cp39-abi3-musllinux_1_2_aarch64.whl:

Publisher: release.yml on rnabioco/escapepod-rs

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

File details

Details for the file escapepod-0.6.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for escapepod-0.6.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9620d160f8433c85d5a2c09ed773c46f10fdc4b2cc65d22f434eb2f03868c75f
MD5 d8160b73c83046514e02d190e1fbb7ec
BLAKE2b-256 8c9a36c7ed0aa0ab614d90989f9cc5b79bd99296e414fe19215bb0062fb3b2cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on rnabioco/escapepod-rs

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

File details

Details for the file escapepod-0.6.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for escapepod-0.6.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f42973b45ca64cc24573febdd72c0b0b05fcf8b9cb56af5ce91dcf8f532ccad9
MD5 6b7232efbb7c2d74fc149cbd64434392
BLAKE2b-256 b8512eaf3d160be173a7ab16d09d0a8bd3f6e3889bebbc4646b244fd9b72d8a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on rnabioco/escapepod-rs

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

File details

Details for the file escapepod-0.6.3-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for escapepod-0.6.3-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6c3bc252b242fa06dcf0a06c1a5a90d1172b72cd126e7778657f8a5a4f7bc2ac
MD5 b24365ba55d9f845fa1b06f0076a99a5
BLAKE2b-256 31a8cd6ff4ff31b5cac27dc400cfa8dcd995ff8637409352ba05c0afc163ce5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.3-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on rnabioco/escapepod-rs

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

File details

Details for the file escapepod-0.6.3-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for escapepod-0.6.3-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9c6c47dd7642da046031c8c3a3707dc753f084219f0d1fb0638fd54ff940fe22
MD5 42a917a2f3b69e783aa5d4e45b51fe8a
BLAKE2b-256 efd25b7c410debe68d7f46e042b2956de3efb22506fc124d5465d9ac6f3cd402

See more details on using hashes here.

Provenance

The following attestation bundles were made for escapepod-0.6.3-cp39-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on rnabioco/escapepod-rs

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