Welcome to COBRA Component Models’ documentation!

Provide SQLAlchemy ORM and pydantic data models for SQL storage and serialization of COBRA components such as reactions, compounds, and compartments. They are loosely modeled after corresponding classes from the SBML Level 3 Version 2 specification. The data models are primarily intended for web services but other applications may benefit from these, too.


It’s as simple as:

pip install cobra-component-models


For now please take a look at the various class definitions and test cases to understand how to use the provided models.

Indices and tables