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.1.0.tar.gz (34.8 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.1.0-cp39-abi3-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.9+Windows x86-64

openmassspec_io-1.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

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

openmassspec_io-1.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

openmassspec_io-1.1.0-cp39-abi3-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

openmassspec_io-1.1.0-cp39-abi3-macosx_10_12_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for openmassspec_io-1.1.0.tar.gz
Algorithm Hash digest
SHA256 60fd50551d56c169b2c8628042deea2735fc1280b38a1694e09cd2621cb52342
MD5 b459910add930bdd85cd1ece03e5dda5
BLAKE2b-256 f27ecde0dbde2a3471b2d8cf44a578ac5795cf75307b44e72a45f985507c7d43

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.1.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8da7cfc4348e2fe756e8cfd7044bbd5db546f8051741192f603a2dca85a23fef
MD5 f5c35dfeaaaf63c4433b3a7083edbffb
BLAKE2b-256 8c89db86a68d312ed97cd7a429889967a9b89b881d50ef00a55a098d3259dab0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9498f43bd8b29683c18122533f22b8a935fcaa673962bacffa2e0e0c5cffcc19
MD5 0632f1acede6b87c59b1e84a4ee0bccf
BLAKE2b-256 cb326b0cf7c5285c4623173ca571184dfeaa7d1a002d6ce5ed50b46ddd7867b0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dba46c343b1f0f8b5dd4de37b997e683b4569f030c6291575f3a186552cc1c6e
MD5 90e78018bf1b33b960d1e614555604f0
BLAKE2b-256 abc5628c2682cfa50d844e40ad13b89cb17f795bfb7900baa869874197a1f3fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.1.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7cdbfe9b1d78d90ae992430e5f5e59f4deb742c1e9eb94aab6f2cbc8d0ce8076
MD5 3071333e3e1d3117f44e7569a9284be5
BLAKE2b-256 300bdd1aa600431b92f47bd100dcfa96e57057986b10a4e1941e7a380289706a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.1.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 373985c237532fcaa4cb3c0b68c4aba2e1834995b4a20df8e41b8547c829c034
MD5 08dfb3c32bb07001ff842ae00d1bbe5d
BLAKE2b-256 6bcfa354ed64b62ac72c81484727c8da8c11f749348cb55a903d30c0c23d870d

See more details on using hashes here.

Provenance

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