Skip to content

API reference

The API reference is generated from the docstrings of the package.

sbmlutils

The top level modules: the model definition, reading and writing, validation and the shared output.

module description
factory the model definition and create_model, the entry point of the package
io reading and writing SBML
validation validation of a document against the SBML specification
parser SBML and antimony into a model definition
notes element documentation written as markdown
reaction_equation the stoichiometry of a reaction as a string
biomodels download SBML and COMBINE archives by BioModels ID
console shared rich console
log logging of the package
utils meta ids and the frozen base class

sbmlutils.comp

Hierarchical models with the comp package, see Model composition.

module description
comp.comp ports, external model definitions and replacements
comp.flatten flattening a comp model into a single model

sbmlutils.converters

Import XPP/XPPAUT models under Reading and writing, or derive differential equations with ODE export.

module description
converters.ode deprecated compatibility imports for sbmlsim-core
converters.xpp XPP/XPPAUT ode files to SBML

sbmlutils.fbc

Constraint based models, see Flux balance constraints.

module description
fbc.fbc flux bounds and boundary conditions

sbmlutils.layout

module description
layout.layout layout information in the model, see layout

sbmlutils.manipulation

module description
manipulation.merge merging models into one comp model

sbmlutils.metadata

Annotation of models, see Annotations. The qualifiers BQB, BQM and the ontology terms SBO are re-exported from pymetadata.

module description
metadata.annotator annotations from a file applied to a model
metadata.validator validation of the annotations of a model
metadata.miriam the MIRIAM qualifiers of libsbml

sbmlutils.report

The content of a model for a human reader, see Reports.

module description
report.sbmlinfo the complete content of a document as JSON
report.sbmlreport a report on a local sbml4humans
report.units unit definitions rendered as a string or latex
report.mathml math rendered as latex