Python bindings for JAGS (modernized build so that everything 'just works' (JW)).
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
- Linux: prebuilt wheels for CPython 3.11–3.13 on x86_64 and aarch64 with JAGS + toolchain runtimes fully bundled.
pip install pyjags-jwshould “just work.” - macOS: wheels targeted for CPython 3.11–3.13 (x86_64) with bundled JAGS; arm64 coming next. Source builds still require a system JAGS if no wheel is available.
- Windows: planned; source builds currently require a system JAGS.
Installation
pip install pyjags-jw
No system JAGS needed on supported Linux wheels.
pip install pyjags
Useful Links
- Package on the Python Package Index https://pypi.python.org/pypi/pyjags
- Project page on github https://github.com/michaelnowotny/pyjags
- JAGS manual and examples http://sourceforge.net/projects/mcmc-jags/files/
Acknowledgements
- JAGS was created by Martyn Plummer
- PyJAGS was originally created by Tomasz Miasko
- As of May 2020, PyJAGS is developed by Michael Nowotny
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyjags_jw-0.3.1.tar.gz.
File metadata
- Download URL: pyjags_jw-0.3.1.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef4b39063f6022b921330b11dddb392a432440a5cfc3f37ef213c01386535449
|
|
| MD5 |
0d700f144b7b20f08e3ac27e9e545b6f
|
|
| BLAKE2b-256 |
59559a33dcea4956c65969f25ca5ad124c9fec50bf08081c475fc08bbba0dbe2
|
File details
Details for the file pyjags_jw-0.3.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pyjags_jw-0.3.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 21.9 MB
- Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d57fed9235755e7a79d35853b564b3e820aa4859431e6a06e7d950bce2dff488
|
|
| MD5 |
e0a5eac7d16a3dbb61c47ae2ba535bc6
|
|
| BLAKE2b-256 |
e644ebc082b02e617ab3df7972fbf05805c385386bd8d03e3cb222073b661113
|
File details
Details for the file pyjags_jw-0.3.1-cp313-cp313-macosx_15_0_arm64.whl.
File metadata
- Download URL: pyjags_jw-0.3.1-cp313-cp313-macosx_15_0_arm64.whl
- Upload date:
- Size: 10.9 MB
- Tags: CPython 3.13, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ec0cb0dcf27bd29b0252652af441264a501827a09a00c34293fa20c01967377
|
|
| MD5 |
8154a4f7dad9d02e9c7f65a12c82b15f
|
|
| BLAKE2b-256 |
85a12bf43699543ad15ee1a4ce71faa171660586b403df8352d46073347d5326
|
File details
Details for the file pyjags_jw-0.3.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pyjags_jw-0.3.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 21.9 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b76747e1a59802b11e210bd01ce8cb1a5525a40c0bcc344b919f78d45943589
|
|
| MD5 |
39ea796286888a4bfd8ac8653e5aca08
|
|
| BLAKE2b-256 |
1b0b12cc23b580bcec9122f7ad5a1ce090ab6dd960decf09a570eecfcda55693
|
File details
Details for the file pyjags_jw-0.3.1-cp312-cp312-macosx_15_0_arm64.whl.
File metadata
- Download URL: pyjags_jw-0.3.1-cp312-cp312-macosx_15_0_arm64.whl
- Upload date:
- Size: 10.9 MB
- Tags: CPython 3.12, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae354bae47218f5513625b518600f5693ecbfd3ca808cf691c69aab11d98af8a
|
|
| MD5 |
3af9ed64da5ae49d3f5333ff34531d70
|
|
| BLAKE2b-256 |
d48ae4d73e39ab1cf1bcda3236321a5697f8993ed696f31b53fe7ddcd384359f
|
File details
Details for the file pyjags_jw-0.3.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pyjags_jw-0.3.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 21.9 MB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50676f8759edb27e639ab08e2d21ada4190304f3d87cfd842339edca2261a369
|
|
| MD5 |
7512709111933d917c79e4c0648f37b4
|
|
| BLAKE2b-256 |
887802493f9b039ce0667c6393bf2de93821d18cab42807b4db931a5f6e16a8d
|
File details
Details for the file pyjags_jw-0.3.1-cp311-cp311-macosx_15_0_arm64.whl.
File metadata
- Download URL: pyjags_jw-0.3.1-cp311-cp311-macosx_15_0_arm64.whl
- Upload date:
- Size: 10.9 MB
- Tags: CPython 3.11, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ced70d45111eddf72f2a4768a99c972f650593035a095fc08a5b0f868bb25c53
|
|
| MD5 |
baf035004f1329ab31aada7ad2fb4ae6
|
|
| BLAKE2b-256 |
c1ea392831c7ee13369747743b5e0152d71c742c6a691726a91e03bc738270a6
|