$npx skillfedfor your agent

pymc

Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with PyTensor

Worth itPyPI Scientific/EngineeringReleased Aug 20265.5M downloads / moApache License, Version 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pymc-6.3.0-py3-none-any.whl
v6.3.0 · released 2026-08-12 · Python >=3.12 · 10 runtime deps: arviz, cachetools, cloudpickle, numpy, pandas, pytensor, rich, scipy

Yes. PyMC is production-stable (Development Status 5), actively maintained with a recent release, carries no known vulnerabilities, and uses a permissive Apache 2.0 license. It has low install friction and broad adoption (top 5000 on PyPI). Install it if you need to fit Bayesian models with flexible inference algorithms; avoid it only if you require Python versions below 3.12 or have no need for probabilistic modeling.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.12 or later; computationally intensive models may benefit from a system with multiple CPU cores due to threadpoolctl dependency.
  • Low install friction with a pure-Python wheel distribution.
  • Active maintenance with a release 2 days old and 9710 repository stars.

License · maintenance · safety

Apache License, Version 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.

last release 2026-08-12 (2 days) · last repo commit 2026-08-13 · 9,710 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,495,668 downloads/mo, #2,088 on PyPI

Verify before relying

import pymc as pm
import numpy as np

# Define a simple Bayesian model
with pm.Model() as model:
    mu = pm.Normal('mu', mu=0, sigma=1)
    obs = pm.Normal('obs', mu=mu, sigma=1, observed=np.array([1, 2, 3]))
    idata = pm.sample(random_seed=42)

print(pm.stats.summary(idata))
  • Whether JAX compilation support is available out-of-the-box or requires additional setup beyond the listed dependencies.
  • Performance characteristics and scalability limits for models with thousands of parameters mentioned in the description.
Same gist for agents: .md · .json

What it is and what it does

PyMC is a framework for specifying and fitting Bayesian statistical models using probabilistic programming. It translates intuitive mathematical notation (like x ~ N(0,1)) into executable inference code, handling the computational complexity of sampling from posterior distributions. The package combines advanced sampling algorithms—including the No U-Turn Sampler—with variational inference methods for both exact and approximate posterior estimation, making it suitable for models ranging from simple regression to complex hierarchical structures.

Under the hood, PyMC relies on PyTensor for computation optimization and can compile models to C or JAX for performance. It integrates with numpy, scipy, and pandas for data handling, and uses arviz for posterior analysis and visualization. The package is designed for researchers and practitioners who need flexible Bayesian inference without deep expertise in sampling algorithm implementation.

Use it for

  • Fit Bayesian linear or generalized linear regression models to estimate parameter uncertainty and credible intervals.
  • Perform hierarchical modeling for grouped data, such as multi-site experiments or nested study designs.
  • Conduct prior sensitivity analysis and posterior predictive checks to validate model assumptions.
  • Estimate missing values in datasets using transparent imputation within a probabilistic framework.
  • Compare competing Bayesian models using posterior predictive distributions and information criteria.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

PyMC is production-stable (Development Status 5), actively maintained with a recent release, carries no known vulnerabilities, and uses a permissive Apache 2.0 license. It has low install friction and broad adoption (top 5000 on PyPI). Install it if you need to fit Bayesian models with flexible inference algorithms; avoid it only if you require Python versions below 3.12 or have no need for probabilistic modeling.

Install

pymc on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Active maintenance with a release 2 days old and 9710 repository stars. Requires Python 3.12 or later and depends on 10 runtime packages including numpy, scipy, pytensor, and arviz.

Requires Python 3.12 or later; computationally intensive models may benefit from a system with multiple CPU cores due to threadpoolctl dependency.

License in practice

Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.

Quickstart

import pymc as pm
import numpy as np

# Define a simple Bayesian model
with pm.Model() as model:
    mu = pm.Normal('mu', mu=0, sigma=1)
    obs = pm.Normal('obs', mu=mu, sigma=1, observed=np.array([1, 2, 3]))
    idata = pm.sample(random_seed=42)

print(pm.stats.summary(idata))

Verify before relying

  • Whether JAX compilation support is available out-of-the-box or requires additional setup beyond the listed dependencies.
  • Performance characteristics and scalability limits for models with thousands of parameters mentioned in the description.

Package facts

LicenseApache License, Version 2.0 permissive
Python supportSupports the current Python release >=3.12
Install frictionLow. Pure-Python wheel
Runtime dependencies
10 packages
arvizcachetoolscloudpicklenumpypandaspytensorrichscipythreadpoolctltyping-extensions
MaintenanceActively maintained 2 days since the last release
Last repo commit
First released
Downloads5,495,668 / month, #2,088 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended 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.14Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Mathematics

Evidence: pymc-6.3.0-py3-none-any.whl

Tags

Capabilities
bayesian statistical modelingmarkov chain monte carlo samplingvariational inference pythonprobabilistic programmingposterior inference mcmcbayesian regression modelingparameter estimation sampling
Topics
bayesian-inferencemcmc-samplingprobabilistic-programming

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 › “bayesian regression modeling”

  • pymcPyMC is a Python package for Bayesian statistical modeling and…
  • pyro-pplPyro is a deep probabilistic programming library built on PyTorch…
  • pymc-marketingPyMC-Marketing provides Bayesian statistical models for marketing…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also nutpie · pymc3 · pymc-extras · pystan · pymc-marketing · emcee · cmdstanpy · numpyro · pyAgrum-nightly · preliz