sbmlode 0.1.0__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sbmlode-0.1.0 → sbmlode-0.2.0}/CITATION.cff +10 -2
- {sbmlode-0.1.0 → sbmlode-0.2.0}/PKG-INFO +25 -2
- {sbmlode-0.1.0 → sbmlode-0.2.0}/README.md +24 -1
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/__init__.py +1 -1
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/analysis.py +332 -145
- sbmlode-0.2.0/src/sbmlode/astutil.py +475 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/documents.py +64 -68
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/formats.py +23 -15
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/symbols.py +3 -3
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/system.py +83 -53
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/templates/julia.jl.jinja +23 -6
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/templates/latex.tex.jinja +8 -8
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/templates/markdown.md.jinja +8 -8
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/templates/python.py.jinja +19 -6
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/templates/r.R.jinja +19 -6
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/templates/typst.typ.jinja +8 -8
- sbmlode-0.2.0/tests/data/models/variable_compartment/variable_compartment.xml +108 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/golden/events.md +8 -9
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/golden/events.tex +8 -9
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/golden/events.typ +9 -10
- sbmlode-0.2.0/tests/golden/variable_compartment.md +108 -0
- sbmlode-0.2.0/tests/golden/variable_compartment.tex +143 -0
- sbmlode-0.2.0/tests/golden/variable_compartment.typ +132 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/ode_helpers.py +53 -13
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/resources.py +8 -1
- sbmlode-0.2.0/tests/test_ode_astutil.py +220 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/test_ode_julia.py +7 -6
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/test_ode_presentation.py +22 -16
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/test_ode_python.py +64 -9
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/test_ode_r.py +8 -7
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/test_ode_system.py +194 -52
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/test_ode_testsuite.py +3 -1
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/test_ode_typeset.py +21 -7
- sbmlode-0.1.0/src/sbmlode/astutil.py +0 -164
- sbmlode-0.1.0/tests/test_ode_astutil.py +0 -88
- {sbmlode-0.1.0 → sbmlode-0.2.0}/.gitignore +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/LICENSE +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/pyproject.toml +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/dependencies.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/events.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/io.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/printers/__init__.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/printers/base.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/printers/document.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/printers/julia.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/printers/latex.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/printers/python.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/printers/r.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/printers/typst.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/text.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/src/sbmlode/units.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/data/models/comp/dex_liver.xml +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/data/models/comp/icg_body.xml +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/data/models/comp/icg_body_flat.xml +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/data/models/comp/icg_liver.xml +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/data/models/comp/spt_liver.xml +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/data/models/demo/Koenig_demo_v15.xml +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/data/models/galactose/galactose_30.xml +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/data/models/interpolation/data1_linear.xml +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/data/models/repressilator/BIOMD0000000012_urn.xml +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/data/models/van_der_pol/van_der_pol.xml +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/data/unit_terms.json +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/docker/r.Dockerfile +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/golden/demo.md +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/golden/demo.tex +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/golden/demo.typ +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/golden/events.xml +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/golden/repressilator.md +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/golden/repressilator.tex +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/golden/repressilator.typ +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/julia/Project.toml +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/test_ode_docs.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/test_ode_printers.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/test_ode_safety.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/test_ode_symbols.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/test_ode_text.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/test_units.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tests/testsuite.py +0 -0
- {sbmlode-0.1.0 → sbmlode-0.2.0}/tox.ini +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
cff-version: 1.2.0
|
|
2
|
-
message: "If you use sbmlode, please cite
|
|
2
|
+
message: "If you use sbmlode, please cite the archived software on Zenodo."
|
|
3
3
|
title: "sbmlode: ordinary differential equations of SBML models"
|
|
4
4
|
abstract: "sbmlode writes the system of ordinary differential equations of a model in the Systems Biology Markup Language (SBML) as python, julia and R code which simulates it and as LaTeX, typst and markdown documents which describe it."
|
|
5
5
|
type: software
|
|
@@ -8,8 +8,16 @@ authors:
|
|
|
8
8
|
given-names: "Matthias"
|
|
9
9
|
orcid: "https://orcid.org/0000-0003-1725-179X"
|
|
10
10
|
affiliation: "Humboldt-University Berlin, Faculty of Life Science, Institute for Biology, Biology, Berlin; University Lübeck; University Hospital Schleswig-Holstein, Campus Lübeck, First Department of Medicine, Germany"
|
|
11
|
-
|
|
11
|
+
identifiers:
|
|
12
|
+
- type: doi
|
|
13
|
+
value: 10.5281/zenodo.23179199
|
|
14
|
+
description: the concept doi of all versions
|
|
15
|
+
- type: doi
|
|
16
|
+
value: 10.5281/zenodo.23179200
|
|
17
|
+
description: the doi of version 0.1.0
|
|
18
|
+
version: "0.2.0"
|
|
12
19
|
date-released: "2026-10-06"
|
|
20
|
+
doi: "10.5281/zenodo.23179199"
|
|
13
21
|
license: MIT
|
|
14
22
|
repository-code: "https://github.com/matthiaskoenig/sbmlode"
|
|
15
23
|
url: "https://matthiaskoenig.github.io/sbmlode"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: sbmlode
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: sbmlode writes the ordinary differential equations of SBML models as python, julia and R code and as LaTeX, typst and markdown documents.
|
|
5
5
|
Project-URL: Homepage, https://matthiaskoenig.github.io/sbmlode
|
|
6
6
|
Project-URL: Documentation, https://matthiaskoenig.github.io/sbmlode
|
|
@@ -62,9 +62,11 @@ Requires-Dist: scipy>=1.15.0; extra == 'test'
|
|
|
62
62
|
Requires-Dist: typst>=0.15.0; extra == 'test'
|
|
63
63
|
Description-Content-Type: text/markdown
|
|
64
64
|
|
|
65
|
+
<img src="https://raw.githubusercontent.com/matthiaskoenig/sbmlode/develop/docs/images/favicon/sbmlode-200x200.png" alt="sbmlode logo" width="100">
|
|
66
|
+
|
|
65
67
|
# sbmlode
|
|
66
68
|
|
|
67
|
-
[](https://pypi.org/project/sbmlode/) [](https://github.com/matthiaskoenig/sbmlode/actions/workflows/ci-cd.yml) [](https://matthiaskoenig.github.io/sbmlode/)
|
|
69
|
+
[](https://pypi.org/project/sbmlode/) [](https://github.com/matthiaskoenig/sbmlode/actions/workflows/ci-cd.yml) [](https://matthiaskoenig.github.io/sbmlode/) [](https://doi.org/10.5281/zenodo.23179199)
|
|
68
70
|
|
|
69
71
|
An SBML model describes a system of ordinary differential equations (ODEs), but it is not written as one: the equations follow from the reactions, rules, events and units of the model. `sbmlode` derives this system once and writes it
|
|
70
72
|
|
|
@@ -95,6 +97,27 @@ system.write("model.md", standalone=False) # with the options of the format
|
|
|
95
97
|
|
|
96
98
|
The [Guide](https://matthiaskoenig.github.io/sbmlode/formats/) describes the formats, their options, the supported SBML and the verification, the [API reference](https://matthiaskoenig.github.io/sbmlode/api/) the classes and functions.
|
|
97
99
|
|
|
100
|
+
## How to cite
|
|
101
|
+
|
|
102
|
+
[](https://doi.org/10.5281/zenodo.23179199)
|
|
103
|
+
|
|
104
|
+
If you use sbmlode please cite the archived software on [Zenodo](https://doi.org/10.5281/zenodo.23179199):
|
|
105
|
+
|
|
106
|
+
> König, M. (2026). *sbmlode: ordinary differential equations of SBML models* (Version 0.1.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23179200
|
|
107
|
+
|
|
108
|
+
```bibtex
|
|
109
|
+
@software{koenig_sbmlode,
|
|
110
|
+
author = {König, Matthias},
|
|
111
|
+
title = {sbmlode: ordinary differential equations of SBML models},
|
|
112
|
+
year = {2026},
|
|
113
|
+
month = oct,
|
|
114
|
+
version = {0.1.0},
|
|
115
|
+
publisher = {Zenodo},
|
|
116
|
+
doi = {10.5281/zenodo.23179200},
|
|
117
|
+
url = {https://doi.org/10.5281/zenodo.23179200},
|
|
118
|
+
}
|
|
119
|
+
```
|
|
120
|
+
|
|
98
121
|
## License
|
|
99
122
|
|
|
100
123
|
sbmlode is open source under the [MIT license](https://github.com/matthiaskoenig/sbmlode/blob/develop/LICENSE). Please [open an issue](https://github.com/matthiaskoenig/sbmlode/issues) for a question or a problem.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
<img src="https://raw.githubusercontent.com/matthiaskoenig/sbmlode/develop/docs/images/favicon/sbmlode-200x200.png" alt="sbmlode logo" width="100">
|
|
2
|
+
|
|
1
3
|
# sbmlode
|
|
2
4
|
|
|
3
|
-
[](https://pypi.org/project/sbmlode/) [](https://github.com/matthiaskoenig/sbmlode/actions/workflows/ci-cd.yml) [](https://matthiaskoenig.github.io/sbmlode/)
|
|
5
|
+
[](https://pypi.org/project/sbmlode/) [](https://github.com/matthiaskoenig/sbmlode/actions/workflows/ci-cd.yml) [](https://matthiaskoenig.github.io/sbmlode/) [](https://doi.org/10.5281/zenodo.23179199)
|
|
4
6
|
|
|
5
7
|
An SBML model describes a system of ordinary differential equations (ODEs), but it is not written as one: the equations follow from the reactions, rules, events and units of the model. `sbmlode` derives this system once and writes it
|
|
6
8
|
|
|
@@ -31,6 +33,27 @@ system.write("model.md", standalone=False) # with the options of the format
|
|
|
31
33
|
|
|
32
34
|
The [Guide](https://matthiaskoenig.github.io/sbmlode/formats/) describes the formats, their options, the supported SBML and the verification, the [API reference](https://matthiaskoenig.github.io/sbmlode/api/) the classes and functions.
|
|
33
35
|
|
|
36
|
+
## How to cite
|
|
37
|
+
|
|
38
|
+
[](https://doi.org/10.5281/zenodo.23179199)
|
|
39
|
+
|
|
40
|
+
If you use sbmlode please cite the archived software on [Zenodo](https://doi.org/10.5281/zenodo.23179199):
|
|
41
|
+
|
|
42
|
+
> König, M. (2026). *sbmlode: ordinary differential equations of SBML models* (Version 0.1.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23179200
|
|
43
|
+
|
|
44
|
+
```bibtex
|
|
45
|
+
@software{koenig_sbmlode,
|
|
46
|
+
author = {König, Matthias},
|
|
47
|
+
title = {sbmlode: ordinary differential equations of SBML models},
|
|
48
|
+
year = {2026},
|
|
49
|
+
month = oct,
|
|
50
|
+
version = {0.1.0},
|
|
51
|
+
publisher = {Zenodo},
|
|
52
|
+
doi = {10.5281/zenodo.23179200},
|
|
53
|
+
url = {https://doi.org/10.5281/zenodo.23179200},
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
34
57
|
## License
|
|
35
58
|
|
|
36
59
|
sbmlode is open source under the [MIT license](https://github.com/matthiaskoenig/sbmlode/blob/develop/LICENSE). Please [open an issue](https://github.com/matthiaskoenig/sbmlode/issues) for a question or a problem.
|