Skip to main content

Python bindings for ProLance (Lance-backed MS data store)

Project description

prolance (Python)

Python bindings for ProLance, a Lance-backed mass-spectrometry data store.

Install (dev)

From the workspace root:

cd crates/prolance-py
maturin develop --release

Usage

import prolance

store = prolance.Store.open("/tmp/plstore")
run_id = store.ingest_mzml("path/to/run.mzML")

# Build scalar indexes once after a bulk ingest.
store.create_default_indexes()

runs = store.runs()
print(runs[0]["run_id"], runs[0]["spectrum_count"])

# RT window query, MS1 only, first 50 hits.
hits = store.query_window(run_id, rt_min=0.0, rt_max=120.0,
                          ms_level=1, limit=50)
for h in hits:
    print(h["scan_num"], h["rt"], len(h["mz"]))

chroms = store.chromatograms(run_id)

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

prolance-0.2.0a0.tar.gz (64.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

prolance-0.2.0a0-cp39-abi3-win_amd64.whl (39.2 MB view details)

Uploaded CPython 3.9+Windows x86-64

prolance-0.2.0a0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35.6 MB view details)

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

prolance-0.2.0a0-cp39-abi3-macosx_11_0_arm64.whl (31.8 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

prolance-0.2.0a0-cp39-abi3-macosx_10_12_x86_64.whl (34.8 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file prolance-0.2.0a0.tar.gz.

File metadata

  • Download URL: prolance-0.2.0a0.tar.gz
  • Upload date:
  • Size: 64.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for prolance-0.2.0a0.tar.gz
Algorithm Hash digest
SHA256 7ac700737bc81999c46155039ee41f0ed3ee4b56f8d393ca70c0e1edd32f4f57
MD5 b24e0266a04f5d98a9c15fa8a295e3c7
BLAKE2b-256 17c4eb60f827d24ff1238ab0431d238a3e9d8cddcb77c3897b748a788173402b

See more details on using hashes here.

Provenance

The following attestation bundles were made for prolance-0.2.0a0.tar.gz:

Publisher: release.yml on Sigilweaver/ProLance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file prolance-0.2.0a0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: prolance-0.2.0a0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 39.2 MB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for prolance-0.2.0a0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c1568b03f11eb57b32197d4447751706fa462d80ad9fb897103a5449a3427a29
MD5 72b33800771800801d15b9e3e4822d71
BLAKE2b-256 d697077053ad82af288e8d3ab2963d3f23ac985f319e00fa12e8d0cae183ce29

See more details on using hashes here.

Provenance

The following attestation bundles were made for prolance-0.2.0a0-cp39-abi3-win_amd64.whl:

Publisher: release.yml on Sigilweaver/ProLance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file prolance-0.2.0a0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for prolance-0.2.0a0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 de0c6e1e64a5176caf451ae04c5c68e7e0d75db3c9e6d008fa82c30ea85988ad
MD5 12ff77fbcd32427414a660ec1f27d266
BLAKE2b-256 9c3b77aa2d105f6210be836afb2279ed14f62e52abfa5ccd01860efe50a687d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for prolance-0.2.0a0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on Sigilweaver/ProLance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file prolance-0.2.0a0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for prolance-0.2.0a0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 88f081e9f353a6e9d8673f7b01a53cf5b376723815594529a138a3c2900755be
MD5 9a0b0e8e0d8658876bf6021687014f45
BLAKE2b-256 744e0b241f7b018d306215b41ba8f2ce37c9eefbba6b4f1e9566c9a8cba2fffe

See more details on using hashes here.

Provenance

The following attestation bundles were made for prolance-0.2.0a0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on Sigilweaver/ProLance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file prolance-0.2.0a0-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for prolance-0.2.0a0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d92f1d35790870098680ebfb57247552c852e539c18fa6bb353534dba00b4e46
MD5 b74a0fb2f05ab3bde2d12ad84ebd3ddf
BLAKE2b-256 cf7f5b8a5811cd5008cc6c6ccfaca5e58bd814d8a45c1225c42c17f48d8855b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for prolance-0.2.0a0-cp39-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on Sigilweaver/ProLance

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