bloc.boulder_plugins.register#
Plugin registration for Bloc’s Boulder integration.
Split into two layers:
_register_bloc_solver_plugins(plugins)Solver-local: reactor builders, post-build hooks, mechanism switch, sankey. Idempotent — writes only Bloc-owned keys; never clears existing entries. Called from both
BlocConverter.__init__and the Boulder entry-point._register_bloc_ui_globals()Process-global singletons: output-pane registry, summary-builder registry. Guarded by a module-level flag; called only from
register_plugins.register_plugins(plugins)Boulder entry-point hook (
boulder.pluginsgroup in pyproject.toml). Calls both layers; used by theboulderCLI / GUI.
Attributes#
Functions#
|
Boulder entry-point hook ( |
Module Contents#
- bloc.boulder_plugins.register.logger#
- bloc.boulder_plugins.register.register_plugins(plugins)#
Boulder entry-point hook (
boulder.pluginsgroup in pyproject.toml).Called by the
boulderCLI / GUI plugin discovery system. Registers both solver-local plugins and process-global UI singletons.- Parameters:
plugins –
BoulderPluginsinstance provided by Boulder’s discovery machinery.