Skip to main content

Python library for the PSI-mzQC quality control file format.

Project description

MZQC python library

unit-tests Documentation Status Docker Repository on Quay PyPi version Open In Colab

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 changing the command after the .git, 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymzqc-1.0.1.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymzqc-1.0.1-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file pymzqc-1.0.1.tar.gz.

File metadata

  • Download URL: pymzqc-1.0.1.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for pymzqc-1.0.1.tar.gz
Algorithm Hash digest
SHA256 93987476d3151f21be724f5f9d1b5d21fe5deff62247df1b350e3ca5e0926e9e
MD5 b504839bd7226e61c336ea7b7c8e32b4
BLAKE2b-256 b34d1d8e0ec6ec807f8a595fa66befadaae660a0e7227cbcd4020ea6b61feef4

See more details on using hashes here.

File details

Details for the file pymzqc-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pymzqc-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for pymzqc-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 255c9c5b00e856e90fcb1a2c7d77f111ea863ac4c1e873c12d569785245c4b13
MD5 3fa835afde64412030f6b84463001ffe
BLAKE2b-256 592767e349083871cd1e91849ddeec3822765a491b976a6a2e04f78d20295fc0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page