Comparison
cmdstanpy vs numpyro 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 13 days ago, commits in 19 of the last 26 weeks. A safe choice.
$
pip install cmdstanpyProbabilistic programming with NumPy powered by JAX for autograd and JIT compilation to GPU/TPU/CPU.
Actively maintained. Last release 2 months ago, commits in 23 of the last 26 weeks. A safe choice.
$
pip install numpyroPython 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.3M downloads a month, 5.6× more than numpyro.
- Maintenance is comparable: numpyro 84, cmdstanpy 80, pystan 48 on Pythie’s Index.
- Safe default for a new project: cmdstanpy.