Skip to main content

LibViz

Build, inspect and curate MS/MS spectral libraries.

  • Build libraries from mzML files (DDA, DIA, imaging) and a target list: one spectrum per compound/adduct/CE, you pick the best scan.
  • Import MSP libraries (MoNA, MS-DIAL, NIST-style exports).
  • Inspect libraries: search compounds, view spectra and metadata, even with 500k+ spectra.
  • Curate: edit/delete compounds, spectra and metadata; export MSP; merge libraries.
  • QC & search: library overview with quality checks, spectrum comparison (cosine), spectral/analog search.

Install

pdm install -G gui          # or: pip install "libviz[gui]"
pdm run libviz-gui
pdm run libviz build targets.csv run.mzML -o standards.db   # headless

Python 3.13, PySide6 ≥ 6.12.

Use as a library

from pathlib import Path
from libviz.core.library import Library

lib = Library.load_from_msp(Path("MoNA.msp"))
lib.save_as_db(Path("mona.db"))
lib = Library.load_from_db(Path("mona.db"))
lib.get_spectra_in_mz_range(195.08, 195.09, "POSITIVE")

Development

pdm install -G :all
pdm run pytest

CI runs the tests on every push/PR to develop/master. Standalone builds (Windows installer, Linux AppImage) and the PyPI upload come from release-builds.yml; see releasing.

Docs: user guide, architecture, decisions, releasing, changelog.

Metadata

Release files for LibViz 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for LibViz 0.3.0
File Size Uploaded Provenance Actions
libviz-0.3.0.tar.gz 87.6 kB With provenance Details for libviz-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for LibViz 0.3.0
File Interpreter ABI Platform Actions
libviz-0.3.0-py3-none-any.whl Python 3 none any Details for libviz-0.3.0-py3-none-any.whl

Total release size: 201.2 kB

Release files / libviz-0.3.0.tar.gz

Download URL libviz-0.3.0.tar.gz
Size 87.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3d798d1f06d2acb422c34ef2ed4e98fa4dba16d8f466afa75d3640a7de26b6b5
BLAKE2b-256 checksum
How to use checksums
a52d15e5ecb0254592695c5fbc8eeb9987d10e5546a38a030c9871c5034dd404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / libviz-0.3.0-py3-none-any.whl

Download URL libviz-0.3.0-py3-none-any.whl
Size 113.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c69c5f6a9a01d7bb2e7594c02a23fc1d09a4c89c2e86bf70cc93fa6215fe24ed
BLAKE2b-256 checksum
How to use checksums
ad48d9fb8dbe16f0af840cbef41bb4e908936d6d65db85e4ac995b94a8d32e00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Security for LibViz 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for libviz-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page