Skip to main content

Vendor-neutral mass-spec I/O: Thermo / Bruker / Waters 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 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.0.1.tar.gz (33.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.0.1-cp39-abi3-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.9+Windows x86-64

openmassspec_io-1.0.1-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.0.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.7 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

openmassspec_io-1.0.1-cp39-abi3-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

openmassspec_io-1.0.1-cp39-abi3-macosx_10_12_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: openmassspec_io-1.0.1.tar.gz
  • Upload date:
  • Size: 33.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.0.1.tar.gz
Algorithm Hash digest
SHA256 635dc7669a0bb509d4856720b33be60329af541fcc4f76456107b23a4d9354ea
MD5 6000ae81d4936f90ef2efd1f72da8701
BLAKE2b-256 466372dee4045ac24214cbf2ab1666b626664ce7000d982092c56516c8308463

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.0.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dd287c56b2e18ce4c99af2a2dae1775a521d64c84b588404db4018484f2b08ae
MD5 1c46f4bd8eb7fc114046faf7cc7592bd
BLAKE2b-256 f68a7525ddf0a71caba40faf05336a712b09f533892b47abb4ca32ffb67c5660

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.0.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4370c52c98cf3c50a76a6ae88d8534916f8428ba3c3261b7e2e5669f4d08449e
MD5 813496d38bb830cb4bd754befa7014e4
BLAKE2b-256 dbac15586775c9b6f1a6124bca36c919950b3ab8528ed6da5fe7cb2d4598b6b3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.0.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dd794c4f6665e8c39fc04edd9759db262fbfede6708bcadaedafe3999c742ee5
MD5 d0b947bab79c753f5863134cb76d6d11
BLAKE2b-256 621233767809e70b24f08e2f703f3c7a1aba6fe9acd037cf61247838b9f3b033

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.0.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9470132dec2170760b7f4e16083a25110e9ad0c6afd6241f54a2998c4161e022
MD5 ca26f7fb1c7a9c84e61dfdca3d92c0ee
BLAKE2b-256 434e6c3e6cd22c2eab590d4740d8ee90bd04adb1991e4c1ecdeb475e58cc3d16

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.0.1-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a526a6e6726e8cfaf2d919161217d5c019331e104df4673480b02c36b827bc7d
MD5 3fc7aac148aba9f49d634d82179ecb7f
BLAKE2b-256 f7ab2f482ffd1e52e0314bfcead3db6c9a42964a1b72658e9aa593d0c0131b32

See more details on using hashes here.

Provenance

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