Skip to main content

Python bindings for JAGS (modernized build so that everything 'just works' (JW)).

Project description

PyJAGS: The Python Interface to JAGS

Build wheels PyPI 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-jw should “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

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


Download files

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

Source Distribution

pyjags_jw-0.3.1.tar.gz (2.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyjags_jw-0.3.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (21.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pyjags_jw-0.3.1-cp313-cp313-macosx_15_0_arm64.whl (10.9 MB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

pyjags_jw-0.3.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (21.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pyjags_jw-0.3.1-cp312-cp312-macosx_15_0_arm64.whl (10.9 MB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

pyjags_jw-0.3.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (21.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pyjags_jw-0.3.1-cp311-cp311-macosx_15_0_arm64.whl (10.9 MB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

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

Hashes for pyjags_jw-0.3.1.tar.gz
Algorithm Hash digest
SHA256 ef4b39063f6022b921330b11dddb392a432440a5cfc3f37ef213c01386535449
MD5 0d700f144b7b20f08e3ac27e9e545b6f
BLAKE2b-256 59559a33dcea4956c65969f25ca5ad124c9fec50bf08081c475fc08bbba0dbe2

See more details on using hashes here.

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

File hashes

Hashes for pyjags_jw-0.3.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d57fed9235755e7a79d35853b564b3e820aa4859431e6a06e7d950bce2dff488
MD5 e0a5eac7d16a3dbb61c47ae2ba535bc6
BLAKE2b-256 e644ebc082b02e617ab3df7972fbf05805c385386bd8d03e3cb222073b661113

See more details on using hashes here.

File details

Details for the file pyjags_jw-0.3.1-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pyjags_jw-0.3.1-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9ec0cb0dcf27bd29b0252652af441264a501827a09a00c34293fa20c01967377
MD5 8154a4f7dad9d02e9c7f65a12c82b15f
BLAKE2b-256 85a12bf43699543ad15ee1a4ce71faa171660586b403df8352d46073347d5326

See more details on using hashes here.

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

File hashes

Hashes for pyjags_jw-0.3.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4b76747e1a59802b11e210bd01ce8cb1a5525a40c0bcc344b919f78d45943589
MD5 39ea796286888a4bfd8ac8653e5aca08
BLAKE2b-256 1b0b12cc23b580bcec9122f7ad5a1ce090ab6dd960decf09a570eecfcda55693

See more details on using hashes here.

File details

Details for the file pyjags_jw-0.3.1-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pyjags_jw-0.3.1-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ae354bae47218f5513625b518600f5693ecbfd3ca808cf691c69aab11d98af8a
MD5 3af9ed64da5ae49d3f5333ff34531d70
BLAKE2b-256 d48ae4d73e39ab1cf1bcda3236321a5697f8993ed696f31b53fe7ddcd384359f

See more details on using hashes here.

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

File hashes

Hashes for pyjags_jw-0.3.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 50676f8759edb27e639ab08e2d21ada4190304f3d87cfd842339edca2261a369
MD5 7512709111933d917c79e4c0648f37b4
BLAKE2b-256 887802493f9b039ce0667c6393bf2de93821d18cab42807b4db931a5f6e16a8d

See more details on using hashes here.

File details

Details for the file pyjags_jw-0.3.1-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pyjags_jw-0.3.1-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ced70d45111eddf72f2a4768a99c972f650593035a095fc08a5b0f868bb25c53
MD5 baf035004f1329ab31aada7ad2fb4ae6
BLAKE2b-256 c1ea392831c7ee13369747743b5e0152d71c742c6a691726a91e03bc738270a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page