Skip to main content

Vendor-neutral mass-spec I/O: Thermo / Bruker / Waters to mzML, with Arrow streaming. Python bindings to the openproteo-io Rust crate.

Project description

openproteo-io (Python)

Python bindings for the openproteo-io Rust crate. Detect a Thermo / Bruker / Waters acquisition on disk, convert it to mzML, or stream spectra as zero-copy NumPy arrays / pyarrow record batches.

import openproteo_io as opio

fmt = opio.detect("sample.raw")        # -> "thermo" | "bruker" | "waters" | None
opio.to_mzml("sample.raw", "sample.mzML", indexed=True)

for spec in opio.iter_spectra("sample.raw"):
    print(spec.native_id, spec.ms_level, spec.mz.shape)

# Optional Arrow stream (requires pyarrow):
reader = opio.read_arrow("sample.raw", batch_size=1024)
for batch in reader:
    print(batch.num_rows)

Build from source:

pip install maturin
maturin develop --release

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

openproteo_io-1.2.0.tar.gz (24.8 kB view details)

Uploaded Source

Built Distributions

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

openproteo_io-1.2.0-cp39-abi3-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.9+Windows x86-64

openproteo_io-1.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

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

openproteo_io-1.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.7 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

openproteo_io-1.2.0-cp39-abi3-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

openproteo_io-1.2.0-cp39-abi3-macosx_10_12_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file openproteo_io-1.2.0.tar.gz.

File metadata

  • Download URL: openproteo_io-1.2.0.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for openproteo_io-1.2.0.tar.gz
Algorithm Hash digest
SHA256 9ae4a4272549bde982b2ebd9822359d51588c5ab8b2bfe7b7c8a718e86b0db01
MD5 5b42bdccbcc6a5c222fd9a2ef04ea291
BLAKE2b-256 ca3de6363f50b91b0e11fbff85486aee55f0ec2fec46770240e80e10482d70c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for openproteo_io-1.2.0.tar.gz:

Publisher: publish.yml on Sigilweaver/OpenProteo

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

File details

Details for the file openproteo_io-1.2.0-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for openproteo_io-1.2.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f5a3d96b459bf315b9bf5c8c03b2dbd2dda89618733fa7da7aed689d87580579
MD5 10e64efa981a0fdb5085802173ed3900
BLAKE2b-256 e0773037e43db7ccbd6b3618f0ad4ea010a7674d9c700470d2bb1df8879a7414

See more details on using hashes here.

Provenance

The following attestation bundles were made for openproteo_io-1.2.0-cp39-abi3-win_amd64.whl:

Publisher: publish.yml on Sigilweaver/OpenProteo

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

File details

Details for the file openproteo_io-1.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for openproteo_io-1.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e25222b565bdc7f4b9d752b9bbb7ed9c085a60605c6382cae8741f2894d6b03d
MD5 0699b2b46269fd046505fadfca75b02d
BLAKE2b-256 6e706316b3e7d91643b534d678c1202dcdae0933fd3de9f7c2702b6a31325b3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for openproteo_io-1.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on Sigilweaver/OpenProteo

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

File details

Details for the file openproteo_io-1.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for openproteo_io-1.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8ebd6739b2a0d85ad1aa4dd9ab7f64de46b51d939424d72dadcc4c15cdaea20b
MD5 a9e3aba0a218ecbeafef5cf135c5aa91
BLAKE2b-256 358ab98cfd33594ee977b880959f1e67047c74b3baf400722cf73a5139890da8

See more details on using hashes here.

Provenance

The following attestation bundles were made for openproteo_io-1.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish.yml on Sigilweaver/OpenProteo

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

File details

Details for the file openproteo_io-1.2.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for openproteo_io-1.2.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cf85a84174d905d66faa2c367412ed3a9bce5791bf97abf1e9ceedc511d8ee12
MD5 bb5f2ef102a8378035fff84478c3fe5f
BLAKE2b-256 22d867ef0bbccfc869598063594af548b04bafcc2df5f2b32126d7b75c18a9b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for openproteo_io-1.2.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: publish.yml on Sigilweaver/OpenProteo

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

File details

Details for the file openproteo_io-1.2.0-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for openproteo_io-1.2.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2c4018490d4d92ce5a3e4cb90a76ba20ef3ad95cb0640eccd8ca8938ba9b9d74
MD5 49de457508ba0d2c390d28fdfb97fd39
BLAKE2b-256 9742e84f205b3839790d634ecc68b9528247dc2e824cf1d38f693ac27c28b921

See more details on using hashes here.

Provenance

The following attestation bundles were made for openproteo_io-1.2.0-cp39-abi3-macosx_10_12_x86_64.whl:

Publisher: publish.yml on Sigilweaver/OpenProteo

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