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.2.0.tar.gz (36.6 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.2.0-cp39-abi3-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.9+Windows x86-64

openmassspec_io-1.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view details)

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

openmassspec_io-1.2.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.2.0-cp39-abi3-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

openmassspec_io-1.2.0-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.2.0.tar.gz.

File metadata

  • Download URL: openmassspec_io-1.2.0.tar.gz
  • Upload date:
  • Size: 36.6 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.2.0.tar.gz
Algorithm Hash digest
SHA256 aa8a8240ea364ffc0e4ea9d883dd51bec9b89ed26f4c2a34879035a3dd022d5e
MD5 4eaae7676e91042bbed39a0a934b2de9
BLAKE2b-256 be3a76416de5a6c36db36d6ff62428e4ae8a04e5dc9fe90f1db0360200eee9c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.2.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7e489c5f7c21732032edd0d4bc43bd65eec38fadd986be16cd3618b0ccef4ca3
MD5 9d66685da0158ff5a61ad36656ebecf8
BLAKE2b-256 b6228449a6468ac01f03c6fb8625c0bf97cf8355e9ca7834f9b78679a4b9bfce

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 61f13c08f2c3255a7bdf91f2decf34c414be09f6f90fd71ca5d29f401cd26a54
MD5 030d09020cc961a9b0461e5775cdf73c
BLAKE2b-256 b628b2dab576bd0dc6375b5d769cf6aa4038185458a5586a25c43d1b3ca37f9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 babc1b3d5baea157f95fba3327d9de800b227254b4c098b607502cbec53214ce
MD5 a650a00ef9bf8b750fa4eb4ed917bb07
BLAKE2b-256 e1371ede750790851e4b42f6ff5eee96ed359af0da0a65e67604f3bdd09df5a7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.2.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1ed476b92dc887d6332522129898325f0f3b13174fbde56ca17afc6e1110df68
MD5 dab1355a7b30d1b159c5c55ab0d7cd9a
BLAKE2b-256 862fb3427c6fe1200c3871c2798bf49cfd7a244b4d20c042aec0b457ad92217e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for openmassspec_io-1.2.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9943d5f2a6e6659a138c7ae3aaf7220a5f2ddc4b961a482b32ba8895b0f6e536
MD5 eeb2d11ed51af93e8747e938cbf1ef7b
BLAKE2b-256 d4541d53685652a86b58ac73e188c6aaa36ea6fc8bcf883170e863bebc0e6eae

See more details on using hashes here.

Provenance

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