Skip to main content

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

Project description

openmassspec-io (Python)

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

import openmassspec_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

openmassspec_io-1.5.1.tar.gz (40.9 kB view details)

Uploaded Source

Built Distributions

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

openmassspec_io-1.5.1-cp39-abi3-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.9+Windows x86-64

openmassspec_io-1.5.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

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

openmassspec_io-1.5.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

openmassspec_io-1.5.1-cp39-abi3-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

openmassspec_io-1.5.1-cp39-abi3-macosx_10_12_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file openmassspec_io-1.5.1.tar.gz.

File metadata

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

File hashes

Hashes for openmassspec_io-1.5.1.tar.gz
Algorithm Hash digest
SHA256 056377d89b7ae02c9f8168f8f5ae6046b3f6b608b1b3f93dbea2011bd0efa447
MD5 c22d4000e1fbaee67708afa0b1a36cf8
BLAKE2b-256 53a9d234284991f6e81bb1222a491b869a4c5072067e3b304a965544891f3a3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for openmassspec_io-1.5.1.tar.gz:

Publisher: publish.yml on Sigilweaver/OpenMassSpec

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

File details

Details for the file openmassspec_io-1.5.1-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for openmassspec_io-1.5.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 52bc6b8818341bd64152507f1662f84c81acde4ba4ad2e8c347c5b48ccdd6e69
MD5 21e79e1003f0e574626de47496a78412
BLAKE2b-256 422d382c6f1f620abd287014f83cb44a6d6f38d290eaa62ca09649b6bb0f2074

See more details on using hashes here.

Provenance

The following attestation bundles were made for openmassspec_io-1.5.1-cp39-abi3-win_amd64.whl:

Publisher: publish.yml on Sigilweaver/OpenMassSpec

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

File details

Details for the file openmassspec_io-1.5.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for openmassspec_io-1.5.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9d1bc3a7b3dd550a7e3c00e11cd2d87a6f9fae00dd017be26fde11665d67d7f3
MD5 aff176381bcafef46cf05294c071db6a
BLAKE2b-256 398d95bf28fbf19dd27132ffd91c0db0277df0d1048d720d777486dde7ea0cf7

See more details on using hashes here.

Provenance

The following attestation bundles were made for openmassspec_io-1.5.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on Sigilweaver/OpenMassSpec

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

File details

Details for the file openmassspec_io-1.5.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for openmassspec_io-1.5.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9a6b1f36fd46af2a967210a6f41cb082a6e93f6e8ca2542dd827da755af23744
MD5 9ce603611fdbc8727c05a31b3411e28b
BLAKE2b-256 5775bf77a2d8306a89d13a96cf0fc723a11b14c4fd77ad57b1e0f98cd45c173d

See more details on using hashes here.

Provenance

The following attestation bundles were made for openmassspec_io-1.5.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish.yml on Sigilweaver/OpenMassSpec

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

File details

Details for the file openmassspec_io-1.5.1-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for openmassspec_io-1.5.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 601a005c5fd51ba447a1ff05d2ff4e92db67aa2ae2b7053e70560c5f89cf2887
MD5 227c8eb9167084d69162deaed4f9503a
BLAKE2b-256 1fe0272478f5de949c85cefc6abadb86812ebf1039d11c8b9533187d1cce8dd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for openmassspec_io-1.5.1-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: publish.yml on Sigilweaver/OpenMassSpec

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

File details

Details for the file openmassspec_io-1.5.1-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for openmassspec_io-1.5.1-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 76e6566bd24efea8a0dcf41810654f31411f8be5e1803730bcd64efc458bb8e6
MD5 b6c0e9ae9775d4f42090dd1a553fe403
BLAKE2b-256 9ed72d38ed850976e85dbdad71185a4a3071b4ac9215c22a9d7aa5f36f3f2f72

See more details on using hashes here.

Provenance

The following attestation bundles were made for openmassspec_io-1.5.1-cp39-abi3-macosx_10_12_x86_64.whl:

Publisher: publish.yml on Sigilweaver/OpenMassSpec

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