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.4.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.4.0
File Size Uploaded Provenance Actions
libviz-0.4.0.tar.gz 94.4 kB With provenance Details for libviz-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 217.2 kB

Release files / libviz-0.4.0.tar.gz

Download URL libviz-0.4.0.tar.gz
Size 94.4 kB
Tags Source
SHA-256 checksum
How to use checksums
da30eb1dcc7807c3c0dcb2d10bde5cb7ea865c32f3741dbe2a45e7bf12b13c7f
BLAKE2b-256 checksum
How to use checksums
6884e5d2599e8121c994857c6c5973b2d5ca2408fa6d03845dd04c8821507941
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 27, 2026.

Transparency log

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

Download URL libviz-0.4.0-py3-none-any.whl
Size 122.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f671378ee2d46c2a6a795009f4508818eacadb0c2a57d0abf9bb265445f4e012
BLAKE2b-256 checksum
How to use checksums
8066e1173bd1af8a80d979ffde9a23a62fb18cd0aeae3365673419d2179c2dbe
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 27, 2026.

Transparency log

Security for LibViz 0.4.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.4.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 27, 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