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

Uploaded CPython 3.9+Windows x86-64

openmassspec_io-1.4.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.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.9 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.9+macOS 11.0+ ARM64

openmassspec_io-1.4.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.4.0.tar.gz.

File metadata

  • Download URL: openmassspec_io-1.4.0.tar.gz
  • Upload date:
  • Size: 39.3 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.4.0.tar.gz
Algorithm Hash digest
SHA256 f0bf75939793d773014ddd69997dfd9ca9af941b102cc49180eb246890559b2e
MD5 08a714db81161368fef8072590a6a080
BLAKE2b-256 d945fddbece5a498959faa8bcfb5d112124b9d406d0972c7860f58cded9b99e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.4.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b34fe3e01313b83f72dd984c360ea7914c97cac01a5acca39015bc5415e525e5
MD5 35ff47f6bca25e4c39c287fcfe0ed29a
BLAKE2b-256 fe280949909e41e616d4a9571975519a01af5630bddf8caa2e47ee85a904bebb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9dc91bb5c271f00fa529fbd2f6fbd61115a5e41f8719d15b3fb1e007efc32ca2
MD5 ed849b73b7116a8f5b968340cd908bee
BLAKE2b-256 b6a48ae1b65a82ce985563e24ac6c6430a519076e78a1e9b23495e57535374d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9752576fd48943acb639ee4266a3425c563c5f24942b63459a64768dc13e9881
MD5 5befed8349d63d88701db9e2940a59b6
BLAKE2b-256 1f29fe291771e396deac0885a8a0ef656f29f563267f6845079f41aad2b7f7ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.4.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eada8cadf746caaf87c98cc100a29a228b20417d5cb5441f3143c89a6d7ba3dc
MD5 7710200f44432c552c2dca5fa44576a9
BLAKE2b-256 1971ec2c1f66762e4b2c460c022d2bb6377de4981d4239932abb27f6ee81fe51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.4.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d73bc7b350c874a0ae17ebb42e5ec9112f3521f65090d16f75f65225966d058e
MD5 3c83993f2e933604153ee86977e6ab45
BLAKE2b-256 073db4272bd0e4769c4e8f7520032781321f94e1e3605d2a48c46f6aae734e3f

See more details on using hashes here.

Provenance

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