Export SBML (pysb.export.sbml)

Module containing a class for exporting a PySB model to SBML.

For information on how to use the model exporters, see the documentation for pysb.export.

class pysb.export.sbml.SbmlExporter(model, docstring=None)[source]

A class for returning the SBML for a given PySB model.

Inherits from pysb.export.Exporter, which implements basic functionality for all exporters.


Export the SBML for the PySB model associated with the exporter.


String containing the SBML output.

pysb.export.sbml.indent(text, n=0)[source]

Re-indent a multi-line string, stripping leading newlines and trailing spaces.