Skip to main content

odezoo

odezoo is a curated registry of ODE model files, mostly cell models but also others such as Windkessel models, stored as markup: CellML or gotranx .ode. It is a Python package with a command line interface that searches the registry and downloads a model's file exactly as it was recorded, verified by its sha256. The registry holds only the models chosen for it, and each model has one model.toml that says where its files come from, which paper it belongs to, and how to find it.

Install

odezoo needs Python 3.11 or later.

python3 -m pip install odezoo

Each release bundles the registry as it was then. For models added since the last release, install from GitHub:

python3 -m pip install git+https://github.com/ComputationalPhysiology/odezoo

The documentation, with a page for every model and a search, is at https://computationalphysiology.github.io/odezoo.

Quick start

odezoo list                                    # every model; takes the same filters as search
odezoo search --category electrophysiology     # find models; also by text, --keyword, --species
odezoo values species                          # each species and its number of models
odezoo info beeler_reuter_1977                 # paper, DOI, versions, licences, sources
odezoo fetch beeler_reuter_1977 -o models/     # writes models/beeler_reuter_1977.cellml

odezoo fetch takes several ids, so odezoo fetch $(odezoo search --format cellml --ids) fetches every CellML model. --format picks the newest version in a format, --version a given version, and --force overwrites a different file that is already there. A table of models taller than the terminal opens in your pager ($PAGER, else less); --no-pager turns that off. odezoo values also counts categories, keywords, families, formats and cell types, and takes the same filters, so odezoo values family --species human lists the families of human models.

Every file is checked against the sha256 in the registry. It is taken from the cache if it is there, otherwise from this repository's copy on GitHub, otherwise from where its authors keep it (the Physiome Model Repository, GitHub or Zenodo). Whichever it comes from, it is the same bytes.

From Python

import odezoo

odezoo.search("ten tusscher", category="electrophysiology", format="cellml")
odezoo.values("species")  # {"human": 14, "guinea pig": 8, ...}
model = odezoo.model("beeler_reuter_1977")  # paper, keywords, versions, ...
path = odezoo.get("beeler_reuter_1977")  # the file in the cache
path = odezoo.get("beeler_reuter_1977", dest=".")  # copied to ./beeler_reuter_1977.cellml

With gotranx, a model's .ode version, where it has one, loads directly:

import gotranx

ode = gotranx.load_ode(odezoo.get(model_id, format="ode"))

Settings

Option Environment variable What it does
--cache-dir PATH ODEZOO_CACHE_DIR Where downloads are kept. odezoo cache dir shows it, odezoo cache clear empties it, and fetch --no-cache skips it.
--registry PATH ODEZOO_REGISTRY Use a checkout of this repository instead of the registry bundled with odezoo, e.g. to try models not yet released.

A flag beats its environment variable.

Adding models

Each model is a folder under models/ with a model.toml and the files it keeps a copy of. odezoo registry check checks a checkout, and odezoo registry add version ID FILE --derived-from V adds an edited file as a new version.

odezoo registry add url URL --id ID [--license SPDX] downloads a file and adds it, as a new model or a new version of one. GitHub and PMR URLs are pinned to a commit (for PMR, use the file's rawfile URL with the full commit id). A new model gets only its id; fill in its name, paper and categories, then run odezoo registry check. The documentation has the full guide to adding models, and CONTRIBUTING.md the steps for a pull request, including building the documentation.

Licence

The code is MIT licensed. Each model file keeps its own licence, recorded in its model.toml; the texts are in LICENSES/.

Metadata

Release files for odezoo 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odezoo 0.2.0
File Size Uploaded Provenance Actions
odezoo-0.2.0.tar.gz 101.4 kB With provenance Details for odezoo-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for odezoo 0.2.0
File Interpreter ABI Platform Actions
odezoo-0.2.0-py3-none-any.whl Python 3 none any Details for odezoo-0.2.0-py3-none-any.whl

Total release size: 167.3 kB

Release files / odezoo-0.2.0.tar.gz

Download URL odezoo-0.2.0.tar.gz
Size 101.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cca216f59174dc55c0e0caae084a427d770ef14aeab52f7c15c111e2a4bc8c5a
BLAKE2b-256 checksum
How to use checksums
400d6c5808b51e6bf01ced68389a3565481375c9363bbf26a090dcf55086e467
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 28, 2026.

Transparency log

Release files / odezoo-0.2.0-py3-none-any.whl

Download URL odezoo-0.2.0-py3-none-any.whl
Size 65.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50f8f2ded11bc83524bce5f780c7762e5c674e8887fb88c461cbc48e3179159a
BLAKE2b-256 checksum
How to use checksums
8c22c5fce3a5895e5583aa7928a2a0017de512ed14c9779aaadfb38cfa3c70b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 28, 2026.

Transparency log

Security for odezoo 0.2.0

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.

Select from 2 files

Attestation for odezoo-0.2.0.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 Nov 28, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page