Comparison
cmdstanpy vs pymc vs pymc3 vs pystan
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python interface to CmdStan
Actively maintained. Last release 2 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install cmdstanpyProbabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with PyTensor
Actively maintained. Last release 4 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
pip install pymcProbabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with Theano
Maintained. Last release over 2 years ago, commits in 22 of the last 26 weeks. Weaker on recent releases and issue handling.
pip install pymc3Python interface to Stan, a package for Bayesian inference
Maintained. Last release 3 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pystanIn short
- cmdstanpy is the most used: 4.2M downloads a month, 3.1× more than pymc.
- Maintenance is comparable: pymc 86, cmdstanpy 80, pymc3 50, pystan 48 on Pythie’s Index.
- Safe default for a new project: cmdstanpy.