Skip to main content

qp

GitHub release (latest SemVer) GitHub Workflow Status Read the Docs

qp is a python library for the storage and manipulation of tables of probability distributions.

Features

  • Read and write tables of probability distributions to/from file
  • Parameterize probability distributions inferred from real data
  • Convert between different methods of parameterizing probability distributions
  • Perform statistical methods on many distributions at a time

Installation

For a basic install of qp:

git clone https://github.com/LSSTDESC/qp.git
cd qp
pip install .

To install the developer environment:

# Clone the repo and enter it
git clone https://github.com/LSSTDESC/qp.git
cd qp

# Creating the environment from the YAML
conda env create -n qp_dev -f environment.yml

# Activate the environment
conda activate qp_dev

# Install qp in editable mode with dev dependencies
pip install -e '.[dev]'

For more details see the installation instructions on Read the Docs.

Building the documentation locally

To build the documentation locally, start by making sure that you have the appropriate documentation packages installed:

pip install -e '.[docs]'

Once you have the appropriate packages, run the following lines of code to make the documentation:

cd docs/
make html

The HTML files will be generated in the _build/ folder inside the docs/ folder.

People

See the contributors page for an up-to-date list of the major contributors. Some of the main contributors are listed here:

Citation

If you end up using any of the code or ideas you find here in your academic research, please cite our paper: A. I. Malz et al 2018 AJ 156 35 (ADS - BibTex).

Contribution

If you are interested in this project, please write us an issue. Before contributing to the qp project, take a look at the Contribution Guidelines.

License

The code in this repo is available for re-use under the MIT license (see the license file).

Metadata

Release files for qp-prob 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qp-prob 1.1.5
File Size Uploaded Provenance Actions
qp_prob-1.1.5.tar.gz 2.5 MB With provenance Details for qp_prob-1.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qp-prob 1.1.5
File Interpreter ABI Platform Actions
qp_prob-1.1.5-py3-none-any.whl Python 3 none any Details for qp_prob-1.1.5-py3-none-any.whl

Total release size: 2.6 MB

Release files / qp_prob-1.1.5.tar.gz

Download URL qp_prob-1.1.5.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
2f95c4abf11fc40221be3712efa2ceeba6e64252eb206cd9ef0a84d04fdf7cbb
BLAKE2b-256 checksum
How to use checksums
b66c221aa7f36fa73c022542520b3e8df836374f37a511ea134880c25bc2fbaf
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 24, 2026.

Transparency log

Release files / qp_prob-1.1.5-py3-none-any.whl

Download URL qp_prob-1.1.5-py3-none-any.whl
Size 110.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6d433104ae18adc8bc72aac2ca2f65e1114ce0b701bf553f5dd1c3e28b10ccc
BLAKE2b-256 checksum
How to use checksums
008a41c8a579693cc4861bcf6a9c969d404a95f977d894b56d76db9ac0e5ef07
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 24, 2026.

Transparency log

Security for qp-prob 1.1.5

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 qp_prob-1.1.5.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 24, 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