MZQC python library
A python library to create and use mzQC files. Specifically, the library facilitates access to mzQC files in form of a directly usable object representation of mzQC and offers additional functionality to:
- serialise
- deserialise
- check syntax
- check semantics
- file-info
- experimental file-merging
The library follows the formats versioning (which is 'v(Major).(Minor).(Patch)').
This library implements python modules for (de-)serialisation and validity checks of the PSI fileformat mzQC. Find the specification document, examples, and and further documentation there.
Install
Latest Release
Most people will want to install the latest release version of pymzqc. Please install pymzqc via pypi:
pip install pymzqc
From Git
If you want a development version, use for example :
pip install -U git+https://github.com/MS-Quality-hub/pymzqc.git
You can select a development branch of your choice by adding @ and a valid tag or branch name to the command after the pymzqc.git; make sure to name the egg 'pymzqc' (e.g. @v1.0.0#egg=pymzqc)
For more installation options see the manual build instructions.
Containers
However, we recommend using the ready-built containers to check out the latest updates.
Online docs
To get a nice and simple overview of how pymzqc works, visit here. If you've successfully installed the library and want to jump right in and work on the library, we suggest a peek at the codestructure.
If you however just want to get your toes wet, or use it as-is, have a look at the interactive guides (below).
Interactive pymzqc
Have a go with our interactive python notebooks to explore what is possible.
Development
Contributions are welcome! (Just fork, develop, and open PR.)
Please note that most member attributes of the MZQCFile submodule classes and many functional elements do not conform to PEP-8 snake_case. The element names of the mzQC JSON-schema need to be preserved in order to create a successful and automated JSON<=>pymzqc object mapping. Accordingly, other elements such as functions in all pymzqc modules will keep the JSON-schema names in their naming for consistency.
Repository structure
The python package's code is located in the mzqc folder, continuous testing code in tests, the documentation in doc. The libray-use container descriptions are in containers, if you want a container for library-development, you can use the container description within .devcontainer, more development presets can be found in .vscode.
The jupyter and accessories folders are subprojects making use of the library.
See their README in the respective sub-folders.
Documentation
The code documentation style convention is of the type Sphinx/numpy.
Metadata
Release files for pymzqc 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymzqc-1.0.3.tar.gz | 38.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymzqc-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.9 kB
Release files / pymzqc-1.0.3.tar.gz
| Download URL | pymzqc-1.0.3.tar.gz |
|---|---|
| Size | 38.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a4cc587045c36f51a5606c4819c9d5da26895f732c8688cb3ce7e2086a0472c
|
|
BLAKE2b-256 checksum How to use checksums |
93d8f40e709ae46366401377333fbfcbcffdcc7349803a186df85c122a5ee1fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 20, 2026.
Transparency logRelease files / pymzqc-1.0.3-py3-none-any.whl
| Download URL | pymzqc-1.0.3-py3-none-any.whl |
|---|---|
| Size | 27.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ade9cc1dbd31503d8077ee93a25091438542fd4223837563a9d8e1c9ad4ae3d
|
|
BLAKE2b-256 checksum How to use checksums |
6d6c078b0471d045101149c69cfdb83846ea2d9d46f1c8277c1d797a3ebb4957
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 20, 2026.
Transparency log