MxlPy
MxlPy (pronounced "em axe el pie") is a Python package for mechanistic learning (Mxl) - the combination of mechanistic modeling and machine learning to deliver explainable, data-informed solutions.
Documentation
You can find extensive documentation directly here on github
Installation
You can install mxlpy using pip: pip install mxlpy.
Due to their sizes, the machine learning packages are optional dependencies. You can install them using
# One of them respectively
pip install mxlpy[torch]
pip install mxlpy[tensorflow]
pip install mxlpy[keras]
pip install mxlpy[jax]
pip install mxlpy[sr]
# together
pip install mxlpy[torch, tensorflow, keras, jax, sr]
If you want access to the sundials solver suite via the assimulo package, we recommend setting up a virtual environment via pixi or mamba / conda using the conda-forge channel.
pixi init
pixi add python assimulo
pixi add --pypi mxlpy
How to cite
If you use this software in your scientific work, please cite this article:
Development setup
You have two choices here, using uv (pypi-only) or using pixi (conda-forge, including assimulo)
uv
- Install
uvas described in the docs. - Run
uv sync --all-extras --all-groupsto install dependencies locally
pixi
- Install
pixias described in the docs - Run
pixi install --frozen
LLMs
We support the llms.txt convention for making documentation available to large language models and the applications that make use of them. It is located at docs/llms.txt
Tool family 🏠
MxlPy is part of a larger family of tools that are designed with a similar set of abstractions. Check them out!
- MxlBricks is built on top of
MxlPyto build mechanistic models composed of pre-defined reactions (bricks) - MxlModels supplies flat, single-file versions of MxlBricks models for easy inspection
- MxlWeb brings simulation of mechanistic models to the browser!
- pysbml simplifies SBML models for import/export with MxlPy
- Parameteriser looks up kinetic parameters from BRENDA and other databases
Metadata
Release files for mxlpy 0.58.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mxlpy-0.58.0.tar.gz | 5.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mxlpy-0.58.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.8 MB
Release files / mxlpy-0.58.0.tar.gz
| Download URL | mxlpy-0.58.0.tar.gz |
|---|---|
| Size | 5.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52644213bea502ac59f76412b6b92f84ad48cb79bd517b092231247f26d77785
|
|
BLAKE2b-256 checksum How to use checksums |
8ddc6d0c1fa8cd70fd821ebc5182b1950b8e9e505fd904a1c46e1cd49056226f
|
| 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 16, 2026.
Transparency logRelease files / mxlpy-0.58.0-py3-none-any.whl
| Download URL | mxlpy-0.58.0-py3-none-any.whl |
|---|---|
| Size | 310.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ea7de3bc4dc269f4de395d2901e3683ca06fc1610ded68a8fc21bd1f16fe479
|
|
BLAKE2b-256 checksum How to use checksums |
8fe003b1b1e454ae5dc03e74636c9eac456e877b08d02d5d2b5c0e2bee55c4b0
|
| 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 16, 2026.
Transparency log