Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Python interface to JAGS library for Bayesian data analysis.

Project description

PyJAGS: The Python Interface to JAGS

PyJAGS provides a Python interface to JAGS, a program for analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC) simulation.

PyJAGS adds the following features on top of JAGS:

  • Multicore support for parallel simulation of multiple Markov chains (See Jupyter Notebook Advanced Functionality
  • Saving sample MCMC chains to and restoring from HDF5 files
  • Functionality to merge samples along iterations or across chains so that sampling can be resumed in consecutive chunks until convergence criteria are satisfied
  • Connectivity to the Bayesian analysis and visualization package Arviz

License: GPLv2

Supported Platforms

PyJAGS works on MacOS and Linux. Windows is not currently supported.


A working JAGS installation is required.

Useful Links


  • JAGS was created by Martyn Plummer
  • PyJAGS was originally created by Tomasz Miasko
  • As of May 2020, PyJAGS is developed by Michael Nowotny

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyjags, version 1.3.7
Filename, size File type Python version Upload date Hashes
Filename, size pyjags-1.3.7.tar.gz (175.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page