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.2.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.2-cp39-abi3-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.9+Windows x86-64

openmassspec_io-1.5.2-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.2-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.2-cp39-abi3-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

openmassspec_io-1.5.2-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.2.tar.gz.

File metadata

  • Download URL: openmassspec_io-1.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 da05f50429aa625361c32aef097e95e779678e5427b04aaf63f4c7b16df97180
MD5 01e462c86c70a7dba357dfa167dae761
BLAKE2b-256 abefec3f9e0ffd95c7c4774863e687ae14b594e04928311ca6ad471cfb06b8a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for openmassspec_io-1.5.2.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.2-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for openmassspec_io-1.5.2-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5dee54c6cef816e6b7997b206270a8e5657bf4687683b9e0ae4fbbf37538e57c
MD5 67d742ff712fb7f02f9aa188f9095168
BLAKE2b-256 6f2ed7e53dde034a04dbdd4ea8fda831841b2327d3d85d9f615ac384c6f6f1fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for openmassspec_io-1.5.2-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.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for openmassspec_io-1.5.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 094e5ab84c3fcf2f7401cef90cef31ec6bd3c88d3453a51e23c4a7b4e81df08e
MD5 a4d14300ecfdf20756e8ae7b4873f552
BLAKE2b-256 0d6f763eb6febeed5601661ec308af542e76c2a996906b052de5b817afcdfaee

See more details on using hashes here.

Provenance

The following attestation bundles were made for openmassspec_io-1.5.2-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.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for openmassspec_io-1.5.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dde6755878af887a4998826f96c0b770406c82c9cd956f0cb6104f6c959dac69
MD5 54ea8e1d989b541d137268bb1a5f9e09
BLAKE2b-256 d5d208b558e1c1974b6eac59cbe0ebf617ff85443f870347aa4a5b9aa24b1e53

See more details on using hashes here.

Provenance

The following attestation bundles were made for openmassspec_io-1.5.2-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.2-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for openmassspec_io-1.5.2-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 17bd6c193a8d2d032cc78b42ae3df61f3fa491f41548342bb34d15f272503580
MD5 45d4bbaa9f9e6c6cf72c7c343f460834
BLAKE2b-256 b35c1faa932a8c3621e7634845e0bd2802f3d08f63da4a0f1dd113f6f69fa37e

See more details on using hashes here.

Provenance

The following attestation bundles were made for openmassspec_io-1.5.2-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.2-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for openmassspec_io-1.5.2-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3f3cb95f6c1bec0329015f3902355f3b79e366e460b93e95c01c177f983fdbc4
MD5 59c3495dfe0b508063bc311a94613e8e
BLAKE2b-256 573566b4b46b07329ed2793933fec0128f8bcfbdaffe414db05598ed5877475e

See more details on using hashes here.

Provenance

The following attestation bundles were made for openmassspec_io-1.5.2-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