pystan 3.9.1


Python interface to Stan, a package for Bayesian inference

PyStan, a Python interface to Stan, a platform for statistical modeling.

Stars: 323, Watchers: 323, Forks: 58, Open Issues: 15

The stan-dev/pystan repo was created 6 years ago and the last code push was 3 weeks ago.
The project is popular with 323 github stars!

How to Install pystan

You can install pystan using pip

pip install pystan

or add it to a project with poetry

poetry add pystan

Package Details

Allen Riddell
GitHub Repo:


No  pystan  pypi packages just yet.


A list of common pystan errors.

Code Examples

Here are some pystan code examples and snippets.

GitHub Issues

The pystan package has 15 open issues on GitHub

  • Documentation on sampling
  • Note that pip>=20.3 is required

See more issues on GitHub

Related Packages & Articles

meteostat 1.6.7

Access and analyze historical weather and climate data with Python.

sweetviz 2.3.1

A pandas-based library to visualize and compare datasets.

pyflux 0.4.15

pyflux is a Python library designed for time series analysis. It includes modern time series models, including ARIMA, GARCH, and state space models. With a flexible set of inference options, pyflux enables a probabilistic approach to time series modeling. Though still in alpha, it's an invaluable tool for statisticians and data scientists working with time series data.

mne 1.7.0

MNE-Python project for MEG and EEG data analysis.

lifelines 0.28.0

Survival analysis in Python, including Kaplan Meier, Nelson Aalen and regression