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.2.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.2.0
File Size Uploaded Provenance Actions
libviz-0.2.0.tar.gz 74.9 kB With provenance Details for libviz-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 173.2 kB

Release files / libviz-0.2.0.tar.gz

Download URL libviz-0.2.0.tar.gz
Size 74.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9122a34e32e1d4e9b1e80f706f0eec097ff335234214192c0edbe3a191ac424e
BLAKE2b-256 checksum
How to use checksums
2a8f8ce200cb3970bf541f5bc3c64192ad27632a7073ad1e67bfdaf769c1db0b
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 Oct 28, 2026.

Transparency log

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

Download URL libviz-0.2.0-py3-none-any.whl
Size 98.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19ec8ff5610eca6316a665f43e1c099712c546b0faec8ad29c4209e24316bf4d
BLAKE2b-256 checksum
How to use checksums
580c0b8db2679b874e6d69e7abe731573fdc3ec93c9cfc6bde5d0c6ef8e3f10b
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 Oct 28, 2026.

Transparency log

Security for LibViz 0.2.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.2.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 Oct 28, 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