Export BNGL (pysb.export.bngl)

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

Serves as a wrapper around pysb.generator.bng.BngGenerator.

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

class pysb.export.bngl.BnglExporter(model, docstring=None)[source]

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

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

export()[source]

Generate the corresponding BNGL for the PySB model associated with the exporter. A wrapper around pysb.generator.bng.BngGenerator.

Returns:
string

The BNGL output for the model.