Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

jaxhybridmodels

A JAX/Equinox library for combining user-written ODE dynamics with trainable predictors. It supports bounded physical quantities, regular and irregular time-series experiments, and Optax or Evosax training. Crystallisation kinetics is the canonical example, not the scope.

Documentation

The documentation site is built with VitePress and deployed to GitHub Pages at https://danielepessina.github.io/jax-hybridmodels/.

Start with the Getting started page, use the Examples chooser to find a modelling pattern, and use the generated API reference for exact signatures.

Need Start here
Understand the model contract Model interface
Build irregular data Data and buckets
Choose predictors and bounds Predictors and bounds
Train or freeze parameters Training
Extend the library Custom predictors

The site source lives under docs/.

First run

The examples are plain scripts. From a checkout:

uv sync --extra examples
uv run python examples/pendulum/train_harmonic.py --no-plot

The harmonic oscillator has a known optimum, so it is a useful wiring check. See the examples overview for the other workflows.

Installation

From PyPI

uv add jax-hybridmodels==0.2.0b1

The PyPI distribution is named jax-hybridmodels; import it in Python as jaxhybridmodels.

Development

uv sync --extra examples

This installs jaxhybridmodels in editable mode together with jax, equinox, diffrax, optax, evosax, jaxkan, and the small CLI/UI dependencies, plus the optional dependencies used by the examples.

For the library only, use uv sync.

Contributing

Run the verification checks before pushing:

uv run ruff check .        # lint
uv run ty check src        # typecheck
uv run pytest -q           # test suite
npm --prefix docs run docs:check   # API sync + site build

See docs/README.md for local preview, API generation, and Pages deployment details.

License

BSD-3-Clause. See LICENSE.

Release files for jax-hybridmodels 0.2.0b1

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

Source distribution (sdist)

Source distribution for jax-hybridmodels 0.2.0b1
File Size Uploaded
jax_hybridmodels-0.2.0b1.tar.gz 10.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for jax-hybridmodels 0.2.0b1
File Interpreter ABI Platform
jax_hybridmodels-0.2.0b1-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 MB

Release files / jax_hybridmodels-0.2.0b1.tar.gz

Download URL jax_hybridmodels-0.2.0b1.tar.gz
Size 10.5 MB
Tags Source
SHA-256 checksum
How to use checksums
733f4fec4b214f8029c35754a04aa979d0b91cb9bdb15f46fb98a69c24e605c6
BLAKE2b-256 checksum
How to use checksums
37447cdbf0727fe09244e0757337642ebeb68ac6835ec77c5eb1632518b2ec5b
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 Sep 20, 2026.

Transparency log

Release files / jax_hybridmodels-0.2.0b1-py3-none-any.whl

Download URL jax_hybridmodels-0.2.0b1-py3-none-any.whl
Size 124.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
089d0477b85ebaa4e1cea2b9e7a95a8703329c2d7902144836fad1b7af5d67d2
BLAKE2b-256 checksum
How to use checksums
28eca913af811cebac01a9a9fccbd4bed15dbb570da0cded9baf5be811c45e31
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 Sep 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0b1 This release

2 release files

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