preliz
Exploring and eliciting probability distributions.
Decision gist · record as of 2026-08-14
Yes, if you are actively doing Bayesian modeling and want structured guidance on prior specification. The low install friction, active maintenance, permissive license, and focus on human-centered elicitation make it a solid choice for practitioners. The Alpha status warrants checking that your probabilistic programming language of choice is well-supported, but the package has no known security vulnerabilities and receives regular updates.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.12 or later.
- Interactive visualization features require optional dependencies (jupyterlab or jupyter notebook).
- Low friction: pure Python wheel, six common scientific dependencies (numpy, scipy, matplotlib, numba, arviz_stats, pytensor_distributions).
License · maintenance · safety
permissive license (permissive) — Permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license notice.
last release 2026-07-07 (38 days) · last repo commit 2026-08-13 · 172 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 397,479 downloads/mo, #6,959 on PyPI
Alternatives
Verify before relying
pip install preliz
import preliz as pz
# Create and visualize a prior distribution
prior = pz.Normal(mu=0, sigma=1)
pz.plot_prior(prior)- Whether the package's integration with PyMC and PyStan is production-ready or still experimental given its Alpha status.
- Performance characteristics when working with high-dimensional prior elicitation tasks.
- Whether arviz_stats and pytensor_distributions are stable, maintained dependencies.
What it is and what it does
PreliZ is a toolkit for prior elicitation in Bayesian statistics—the process of translating domain knowledge into well-defined probability distributions. It provides interactive, human-centered tools for specifying priors across multiple methods: direct parameter-space elicitation, predictive elicitation on observed data, and visualization in multiple formats (kernel density estimates, quantile dotplots, histograms). The package is designed to remain agnostic of the underlying probabilistic programming language, making it a companion tool for frameworks in the Python ecosystem.
The package depends on numpy, scipy, matplotlib, numba, arviz_stats, and pytensor_distributions for numerical computation and visualization. It emphasizes keeping humans in the loop rather than fully automating prior selection, helping practitioners avoid overconfidence in their own assumptions while automating tedious or error-prone numerical tasks. It is currently in Alpha status and actively maintained.
Use it for
- Interactively specify and visualize prior distributions for Bayesian regression or classification models before fitting.
- Conduct predictive elicitation by examining how different priors affect predictions on your observed data.
- Explore and compare multiple prior specifications using quantile dotplots or kernel density estimates.
- Integrate prior elicitation workflows into probabilistic programming pipelines without being locked into a single language.
- Build domain-informed priors by transforming expert knowledge into probability distributions via guided tools.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively doing Bayesian modeling and want structured guidance on prior specification.
The low install friction, active maintenance, permissive license, and focus on human-centered elicitation make it a solid choice for practitioners. The Alpha status warrants checking that your probabilistic programming language of choice is well-supported, but the package has no known security vulnerabilities and receives regular updates.
Install
preliz on PyPI
Before you install
Low friction: pure Python wheel, six common scientific dependencies (numpy, scipy, matplotlib, numba, arviz_stats, pytensor_distributions). Active maintenance with a release 38 days ago; repository is not archived and has recent commits.
Requires Python 3.12 or later. Interactive visualization features require optional dependencies (jupyterlab or jupyter notebook).
License in practice
Permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license notice.
Quickstart
pip install preliz
import preliz as pz
# Create and visualize a prior distribution
prior = pz.Normal(mu=0, sigma=1)
pz.plot_prior(prior)
Verify before relying
- Whether the package's integration with PyMC and PyStan is production-ready or still experimental given its Alpha status.
- Performance characteristics when working with high-dimensional prior elicitation tasks.
- Whether arviz_stats and pytensor_distributions are stable, maintained dependencies.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.12 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesarviz_statsmatplotlibnumbanumpypytensor_distributionsscipy |
| Maintenance | Actively maintained 38 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 397,479 / month, #6,959 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: preliz-0.27.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “prior elicitation bayesian”
- prelizPreliZ helps you specify prior distributions for Bayesian models by…
- pystanPyStan provides a Python interface to Stan for Bayesian statistical…
- pymcPyMC is a Python package for Bayesian statistical modeling and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Mathematics packages
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.
Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.
SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.
onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.
Install it if you have ONNX models to run in production or development.
See also arviz-plots · arviz-stats · arviz · arviz-base · tensorflow-probability · pymc-extras · pymc · pyjpt · pymc3 · pytensor-distributions