Skip to main content

sbml2cellml: conversion between SBML and CellML

GitHub Actions CI/CD Status Documentation Version Python Versions MIT License

sbml2cellml converts between the Systems Biology Markup Language (SBML) and CellML 2.0, with documentation available from https://matthiaskoenig.github.io/sbml2cellml.

Features include

  • conversion of compartments, parameters, species, assignment and rate rules and reactions into a single CellML component
  • conversion of CellML models to SBML: parameters with rules, unit definitions, resets as events, imports resolved
  • validation of the result with libcellml
  • timecourse simulation of the CellML with libopencor
  • the sbml2cellml and cellml2sbml command lines
  • the SBML test suite harness: every semantic case through both converters and both simulators, results on the SBML test suite page
  • BioModels check: the curated models through both converters, results on the BioModels page
pip install sbml2cellml
sbml2cellml model.xml -o model.cellml
cellml2sbml model.cellml -o model.xml

In the SBML to CellML direction units, events, initial assignments, function definitions and algebraic rules are not converted yet, see the roadmap.

If you have any questions or issues please open an issue.

How to cite

The Zenodo DOI and the citation are available with the first release.

License

Funding

Matthias König was supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver (LiSyM, grant number 031L0054) and within ATLAS by grant number 031L0304B, and by the German Research Foundation (DFG) within the Research Unit Program FOR 5151 QuaLiPerF (Quantifying Liver Perfusion-Function Relationship in Complex Resection - A Systems Medicine Approach) by grant number 436883643 and by grant number 465194077 (Priority Programme SPP 2311, Subproject SimLivA).

© 2025-2026 Matthias König

Release files for sbml2cellml 0.1.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 sbml2cellml 0.1.0
File Size Uploaded
sbml2cellml-0.1.0.tar.gz 735.1 kB Details

Built distribution (wheel)

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

Total release size: 793.3 kB

Release files / sbml2cellml-0.1.0.tar.gz

Download URL sbml2cellml-0.1.0.tar.gz
Size 735.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e3347a2a05d03f6692e8bdd82eaa35d3f85a0bd19a5f5972954d655c02ed4b74
BLAKE2b-256 checksum
How to use checksums
b890705f110a74975217a566c5ea3464fdbff87d56637d016d19041c7453fc56
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 18, 2026.

Transparency log

Release files / sbml2cellml-0.1.0-py3-none-any.whl

Download URL sbml2cellml-0.1.0-py3-none-any.whl
Size 58.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60708f2357d50a29d232431865e4708e5bb467ba2066dad6090a12acd655164b
BLAKE2b-256 checksum
How to use checksums
eb2338c9e152df48bf44c1448d9cc66a5792300a081231750934f9879546f2e1
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 18, 2026.

Transparency log

Release history Release notifications | RSS feed

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

This release

0.1.0 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