Metadata-Version: 2.5
Name: sbml2cellml
Version: 0.3.0
Summary: sbml2cellml converts between SBML and CellML.
Project-URL: Homepage, https://matthiaskoenig.github.io/sbml2cellml
Project-URL: Documentation, https://matthiaskoenig.github.io/sbml2cellml
Project-URL: Repository, https://github.com/matthiaskoenig/sbml2cellml
Project-URL: Issues, https://github.com/matthiaskoenig/sbml2cellml/issues
Project-URL: Changelog, https://github.com/matthiaskoenig/sbml2cellml/tree/develop/release-notes
Project-URL: Download, https://pypi.org/project/sbml2cellml
Author-email: Matthias König <konigmatt@googlemail.com>
Maintainer-email: Matthias König <konigmatt@googlemail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: COMBINE,CellML,SBML,converter,modeling,standardization
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Requires-Python: >=3.13
Requires-Dist: libcellml>=0.7.1
Requires-Dist: python-libsbml>=5.21.1
Requires-Dist: rich>=15.0.0
Provides-Extra: dev
Requires-Dist: bump-my-version>=1.5.1; extra == 'dev'
Requires-Dist: libopencor==1.20260803.0; extra == 'dev'
Requires-Dist: libroadrunner>=2.10.0; extra == 'dev'
Requires-Dist: matplotlib>=3.11.1; extra == 'dev'
Requires-Dist: mkdocstrings-python>=2.0.8; extra == 'dev'
Requires-Dist: pandas>=3.0.5; extra == 'dev'
Requires-Dist: pre-commit>=4.6.2; extra == 'dev'
Requires-Dist: pytest-xdist>=3.8; extra == 'dev'
Requires-Dist: pytest>=9.1.1; extra == 'dev'
Requires-Dist: requests>=2.32; extra == 'dev'
Requires-Dist: ruff>=0.16.6; extra == 'dev'
Requires-Dist: tox-uv>=1.20; extra == 'dev'
Requires-Dist: tox>=4.61.2; extra == 'dev'
Requires-Dist: ty>=0.0.79; extra == 'dev'
Requires-Dist: zensical>=0.0.60; extra == 'dev'
Provides-Extra: simulate
Requires-Dist: matplotlib>=3.11.1; extra == 'simulate'
Requires-Dist: pandas>=3.0.5; extra == 'simulate'
Provides-Extra: testsuite
Requires-Dist: libroadrunner>=2.10.0; extra == 'testsuite'
Requires-Dist: matplotlib>=3.11.1; extra == 'testsuite'
Requires-Dist: pandas>=3.0.5; extra == 'testsuite'
Requires-Dist: requests>=2.32; extra == 'testsuite'
Description-Content-Type: text/markdown

# sbml2cellml: conversion between SBML and CellML
[![GitHub Actions CI/CD Status](https://github.com/matthiaskoenig/sbml2cellml/actions/workflows/ci-cd.yml/badge.svg)](https://github.com/matthiaskoenig/sbml2cellml/actions/workflows/ci-cd.yml) [![Documentation](https://img.shields.io/badge/docs-sbml2cellml-008080.svg)](https://matthiaskoenig.github.io/sbml2cellml) [![Version](https://img.shields.io/pypi/v/sbml2cellml.svg)](https://pypi.org/project/sbml2cellml/) [![Python Versions](https://img.shields.io/pypi/pyversions/sbml2cellml.svg)](https://pypi.org/project/sbml2cellml/) [![MIT License](https://img.shields.io/pypi/l/sbml2cellml.svg)](https://opensource.org/licenses/MIT)

`sbml2cellml` converts between the [Systems Biology Markup Language (SBML)](https://sbml.org) and [CellML 2.0](https://cellml.org), with documentation available from [https://matthiaskoenig.github.io/sbml2cellml](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](https://matthiaskoenig.github.io/sbml2cellml/testsuite/) page

```bash
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](https://matthiaskoenig.github.io/sbml2cellml/roadmap/).

If you have any questions or issues please [open an issue](https://github.com/matthiaskoenig/sbml2cellml/issues).

# How to cite
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.22829187.svg)](https://doi.org/10.5281/zenodo.22829187)

If you use `sbml2cellml` please cite the archived software on [Zenodo](https://doi.org/10.5281/zenodo.22829187):

> König, M. (2026). *sbml2cellml: conversion of SBML models to CellML* (Version 0.2.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.22831545

```bibtex
@software{konig_sbml2cellml,
  author    = {König, Matthias},
  title     = {sbml2cellml: conversion of SBML models to CellML},
  year      = {2026},
  month     = sep,
  version   = {0.2.0},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.22831545},
  url       = {https://doi.org/10.5281/zenodo.22831545},
}
```

# License
- Source Code: [MIT](https://opensource.org/license/MIT)
- Documentation: [CC BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)

# 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
