Hi, I just noticed this package in PyPI

jupyterstan is a package to help development of Stan models (using pystan ) in jupyter notebooks.

The package is heavily based on Arvinds-ds stanmagic package, but provides an interface that simply returns a pystan.Model object.

In addition, it bundles Arvinds-ds stan_code_helper package to improve syntax highlighting for stan cells.


  • Stan language syntax highlighting in all cells beginning with %%stan
  • Compile a stan model and save it as a pystan variable by running a %%stan cell
  • No longer worry about model_code , reading in stan files, etc.

Looks very promising.