Convert Python ODE systems to SBML (Level 3 Version 2) and PEtab bundles.
ode2sbml is a Python package that converts ordinary differential equation (ODE) systems
written in Python into valid SBML Level 3 Version 2
files and optionally PEtab bundles for parameter estimation.
| Feature | Supported |
|---|---|
| SBML Level 3 Version 2 | ✅ |
| Compartments | ✅ |
| Species (state variables) | ✅ |
| Parameters | ✅ |
| Rate rules (ODEs) | ✅ |
| Assignment rules | ✅ |
| Events (with triggers) | ✅ |
| Unit definitions | ✅ |
| Model notes | ✅ |
| MathML via sbmlmath | ✅ |
| libsbml consistency check | ✅ |
| PEtab bundle export | ✅ |
| JSON serialization (IR) | ✅ |
| Reactions / stoichiometry | ❌ (use RateRules) |
| Spatial SBML | ❌ |
MIT — see LICENSE.
