vibesketch.document.reaction_library¶
Offline named-reaction catalogue and editable examples or unfinished scaffolds.
Names and references are factual index metadata. Molecular examples are the project’s teaching schemes from docs/_static/examples/named_reactions.py. Scaffolds deliberately have no molecular graph or chemical reaction arrow: they must not create species, reactions, or calculation jobs by inference.
Functions
|
Resolve a stable catalogue ID, never guess a reaction from a name. |
|
Append beside the existing drawing; preserve structures and document metadata. |
|
Find entries by name, alias or ID; accents, punctuation and case are ignored. |
|
Editable KET. |
Classes
|
|
|
Exceptions
An unknown entry or an unavailable molecular example. |
- class vibesketch.document.reaction_library.ReactionSource(*, name, url, language)[source]¶
Bases:
BaseModel- model_config = {'frozen': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class vibesketch.document.reaction_library.ReactionEntry(*, id, name, aliases, scope, kind, sources, example_smiles=None, note)[source]¶
Bases:
BaseModel- Parameters:
- model_config = {'frozen': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- scope: Literal['portal', 'supplement']¶
- kind: Kind¶
- sources: tuple[ReactionSource, ...]¶
- exception vibesketch.document.reaction_library.ReactionRefused[source]¶
Bases:
ValueErrorAn unknown entry or an unavailable molecular example.
- vibesketch.document.reaction_library.list_reactions(query='')[source]¶
Find entries by name, alias or ID; accents, punctuation and case are ignored.
- Parameters:
query (str)
- Return type:
- vibesketch.document.reaction_library.get_reaction(identifier)[source]¶
Resolve a stable catalogue ID, never guess a reaction from a name.
- Parameters:
identifier (str)
- Return type: