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.1

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.1
File Size Uploaded Provenance Actions
libviz-0.2.1.tar.gz 75.8 kB With provenance Details for libviz-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 175.7 kB

Release files / libviz-0.2.1.tar.gz

Download URL libviz-0.2.1.tar.gz
Size 75.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f16e2f42d120fc484163e5d980012a316a568c3099c2eeb88c2b3ee6f498ffeb
BLAKE2b-256 checksum
How to use checksums
694ff2732bf5da9afebe9ef6711c59d3824ef455c1828f3b1b30c12d44787ed1
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.1-py3-none-any.whl

Download URL libviz-0.2.1-py3-none-any.whl
Size 99.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
becb1745cae9243c6aa661284357b891d4e05c94ef9e0ccdb0b473ea9aac0420
BLAKE2b-256 checksum
How to use checksums
068a2241403793b0107b479fcead13e65fefb5c30c2e580e2af9a2bf5a33dae3
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.1

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.1.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