pySBML
pySBML takes SBML models and makes them simpler ❤️
Installation
Installation is as easy as pip install pysbml.
Transform this
Compartments
| name | size | is_constant |
|---|---|---|
| C | 1.0 | True |
Variables
| name | amount | conc | constant | substance_units | compartment | only_substance_units | boundary_condition |
|---|---|---|---|---|---|---|---|
| S1 | None | 0.00015 | False | substance | C | False | False |
| S2 | None | 0.0 | False | substance | C | False | False |
Parameters
| name | value | is_constant | unit |
|---|---|---|---|
| k1 | 1.0 | True |
Reactions
| name | body | args | stoichiometry | local pars |
|---|---|---|---|---|
| reaction1 | C * k1 * S1 | [C, k1, S1] | {'S1': -1.0, 'S2': 1.0} | {} |
Into this
Parameters
| name | value | unit |
|---|---|---|
| k1 | 1.0 | None |
| C | 1.0 | None |
Variables
| name | value | unit |
|---|---|---|
| S1 | 0.00015 | None |
| S2 | 0.0 | None |
Reactions
| name | fn | stoichiometry |
|---|---|---|
| reaction1 | S1*k1 | {'S1': -1.0, 'S2': 1.0} |
Development setup
We recommend using uv
uv
- Install
uvas described in the docs. - Run
uv sync --all-extras --all-groupsto install dependencies locally
Tool family 🏠
pySBML is part of a larger family of tools that are designed with a similar set of abstractions. Check them out!
- MxlPy is a Python package for mechanistic learning (Mxl)
- 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!
- Parameteriser looks up kinetic parameters from BRENDA and other databases
Metadata
Release files for pysbml 0.5.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 | Provenance | Actions |
|---|---|---|---|---|
| pysbml-0.5.0.tar.gz | 3.8 MB | With provenance | Details for pysbml-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pysbml-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for pysbml-0.5.0-py3-none-any.whl |
Total release size: 3.9 MB
Release files / pysbml-0.5.0.tar.gz
| Download URL | pysbml-0.5.0.tar.gz |
|---|---|
| Size | 3.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8cc71a298ffc189e19acdb0abd9c84d6b1e119683ae0521856a9fc3b19d86829
|
|
BLAKE2b-256 checksum How to use checksums |
b55119ae311075d6d7d2a0dccd285fc0de0081fb931b2eaa9520fdba3e9fc200
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 14, 2026.
Transparency logRelease files / pysbml-0.5.0-py3-none-any.whl
| Download URL | pysbml-0.5.0-py3-none-any.whl |
|---|---|
| Size | 42.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
241611304c10596463f9efcd2f88963eeb62fe0a476c5299aa2ed42db0218d99
|
|
BLAKE2b-256 checksum How to use checksums |
e8c65bfd8a2ecff35bc0396ca1142ea203422fc68d8d0c760b8c30e36fb852d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 14, 2026.
Transparency logSecurity for pysbml 0.5.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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pysbml-0.5.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 May 14, 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.