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.0.tar.gz (41.0 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.0-cp39-abi3-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.9+Windows x86-64

openmassspec_io-1.5.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

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

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

Uploaded CPython 3.9+macOS 11.0+ ARM64

openmassspec_io-1.5.0-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.0.tar.gz.

File metadata

  • Download URL: openmassspec_io-1.5.0.tar.gz
  • Upload date:
  • Size: 41.0 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.5.0.tar.gz
Algorithm Hash digest
SHA256 614879fa603fd6968e59e9092ef25398b0acf9b9ead468a40685301a791ce65e
MD5 76e31ecc5aa2288777981a389e63f660
BLAKE2b-256 5d80c953870f83dc029f4aab15eb68606de9e46489ba6e7976bf20c2acf3f724

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.5.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 39490a23eda14220488dc4c5c1caf5046ff4752c83c798098c81e5d47ef91f82
MD5 155c1b14c653e372afd81c191610d9c2
BLAKE2b-256 f264769fc1da16c358067da625690b8755ca42ae77215755bdc2e54d21978886

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.5.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9cf9021df559317b592186700f30f7c1c632e409ae81d58f38ae7466a20ca28f
MD5 0a6c7f9cd117069513955b8d12fc75af
BLAKE2b-256 a1638faadd3573b3f812f93bd2f36ce7b2088b29e7b4e091f79dcd8de572e1e0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.5.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 abba1f002770757b3b1b91ba08d4f87e9152a2322293543ed7a50c8fe6c879f2
MD5 5b8b6ff7f9a7a61f78b92ce4fe3bbd70
BLAKE2b-256 6a1d73a9a22b2ffee9e87ace14cdb5a767f5759fbad4ad5881f0a286dcff9202

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.5.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 87d77d1526be29bc5ed4412be45119cb09c5879f0c6520981aecab3c1a59bf3a
MD5 3fa614f684452ee55bfbc609302bade4
BLAKE2b-256 c6545f7c6125b54592efd7a9e2e88dc018d7deb310f6af10c65fdc3009e16abb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.5.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7f1c00e452e26098d0e100fc167f1da4a07749bbeaf9ec4bd86e46de9e7ba8c7
MD5 7b7ec1f9b64c8a1e44b2eaab858ac0a8
BLAKE2b-256 caf99d7d6299a29c5450740d796b806733855d36c4885de1656e3861329f3a96

See more details on using hashes here.

Provenance

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