# PyMC

> Bayesian modeling and probabilistic programming in Python

Source: https://talira.ai/catalog/pymc-r67zqyr4
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / math / statistics](https://talira.ai/categories/libraries/math/statistics)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [PyMC](https://talira.ai/orgs/pymc-devs.md)

PyMC is a probabilistic programming library for Python: you write Bayesian models in plain Python and fit them with Markov chain Monte Carlo (the NUTS sampler) or variational inference (ADVI). It uses PyTensor as its computational backend, compiling through Numba by default or JAX or C, can run models on the GPU, and includes probability distributions, Gaussian processes, ABC and SMC. It works with ArviZ for diagnostics and plots and with Bambi for mixed-effects models, and it is a non-profit project under the NumFOCUS umbrella.

## Links

- Website: https://www.pymc.io/
- GitHub: https://github.com/pymc-devs/pymc
- Docs: https://www.pymc.io/projects/docs/en/stable/

## Problems it solves

- fit a Bayesian model in Python
- estimate uncertainty in my model parameters, not just point estimates
- run MCMC sampling on a custom statistical model

## Features

- Bayesian models written in Python
- NUTS sampling and ADVI variational inference
- PyTensor backend compiling through Numba, JAX or C, with GPU support
- Gaussian processes, ABC and SMC
- works with ArviZ and Bambi

## Trust

Overall: 0.71 out of 1.
Signals: maintenance 1.00, adoption 0.80, momentum 0.51, community 1.00, backing 0.30, extensibility 0.00.

- last commit 4 days ago
- 81 commits in the last 90 days
- latest release v6.4.0 28 days ago
- 9.9k GitHub stars
- 586 contributors
- has a company behind it

## Alternatives

- [Stan](https://talira.ai/catalog/stan-rerqryze.md): Probabilistic programming language for Bayesian statistical modelling
- [CmdStan](https://talira.ai/catalog/cmdstan-0kddshy5.md): Command-line interface to Stan for compiling and running Bayesian models
- [CmdStanPy](https://talira.ai/catalog/cmdstanpy-tdkjcbhm.md): Lightweight Python interface to CmdStan
- [PyStan](https://talira.ai/catalog/pystan-s7s7mbvj.md): Python interface to Stan for Bayesian inference
- [statsmodels](https://talira.ai/catalog/statsmodels-mh2xbekc.md): Statistical modeling, hypothesis tests and econometrics in Python

## Sources

[^1]: https://github.com/pymc-devs/pymc/blob/main/LICENSE (checked 27 Nov 2026)
