API reference#
This reference documents the public interface re-exported from the top-level
molfoundry package – everything listed in molfoundry.__all__. It is
generated directly from the source and its type hints, so it always matches the
installed version.
Building molecules and graphs#
Constructors that turn a textual description into a Graph, plus the
graph data structure itself.
Chemical attributes#
Value types used to label and describe atoms, bonds, and graphs.
Representation of the charge of an atom. |
|
Representation of the isotope of an atom. |
|
Identifies a chemical element and exposes its data from the shared |
|
Rules and rule composition#
Transformation rules and the algebra for combining them.
Evaluates rule-composition expressions. |
|
A rule-composition expression. |
|
Derivation graphs#
Reaction networks built by applying rules, and the objects that describe how each derivation maps atoms.
Enumerates the atom-atom maps of a hyperedge. |
|
An atom-atom map of a hyperedge, as a sequence of |
|
One atom of an atom-atom map. |
|
Strategies#
The strategy DSL that drives network expansion.
Stochastic simulation#
Rule-based Gillespie simulation with on-demand network expansion.
Rule-based Gillespie stochastic simulation with on-demand network expansion. |
|
Exact multiphase (multi-compartment) stochastic simulation. |
Post-processing and global state#
Summary output and the implicit global input collections.
Built-in mutable sequence. |
|
Built-in mutable sequence. |