Inference of Compartmental Models toolbox
Leverage the power of JAX libraries for PyMC models
This toolbox aims to simplify the construction of compartmental models and the inference of their parameters.
The aim isn't to provide a complete package that will build models from A to Z, but rather provide different helper functions examples and guidelines to help leverage modern python packages like JAX, Diffrax and PyMC to build, automatically differentiate and fit compartmental models.
A central part of the toolbox is the possibility to wrap JAX functions to be used in PyMC models (see [here](https://icomo.readthedocs. io/en/stable/api/jax2pytensor.html)), which is used tro wrap the Diffrax ODE solvers, but might be also useful for other projects.
- Documentation: https://icomo.readthedocs.io.
Features
- Facilitate the construction of compartmental models by only defining flow between compartments, and automatically generating the corresponding ODEs.
- Plot the graph of the compartmental model to verify the correctness of the model.
- Integrate the ODEs using diffrax, automatically generating the Jacobian of the parameters of the ODE
- Fit the parameters using minimization algorithms or build a Bayesian model using PyMC.
Citation
If you use this toolbox in your research, please find the citation information on the right sidebar.
Credits
Logo by Fabian Mikulasch
Metadata
Release files for icomo 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| icomo-1.0.4.tar.gz | 530.9 kB | With provenance | Details for icomo-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| icomo-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for icomo-1.0.4-py3-none-any.whl |
Total release size: 550.2 kB
Release files / icomo-1.0.4.tar.gz
| Download URL | icomo-1.0.4.tar.gz |
|---|---|
| Size | 530.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad13b8055a2e79f96949beb0ff72fc7734bd6f23e054109b7a106b4c1d2ef0fb
|
|
BLAKE2b-256 checksum How to use checksums |
6d59f69af13a3ceba1eab86d9ab8c5ff53d812bf3ce017de398595fb7e51b9bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.
Transparency logRelease files / icomo-1.0.4-py3-none-any.whl
| Download URL | icomo-1.0.4-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8bc49a96900d4eea86c45de25dd5bb7392c3aeb5261179b4c547e15d45edf2ea
|
|
BLAKE2b-256 checksum How to use checksums |
bb62dec446161c029b8124bc6fa6466885389d45cecd38143b231c430a6dd632
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.
Transparency logSecurity for icomo 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for icomo-1.0.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.