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.plugins group in pyproject.toml). Calls both layers; used by the boulder CLI / GUI.

Attributes#

Functions#

register_plugins(plugins)

Boulder entry-point hook (boulder.plugins group in pyproject.toml).

Module Contents#

bloc.boulder_plugins.register.logger#
bloc.boulder_plugins.register.register_plugins(plugins)#

Boulder entry-point hook (boulder.plugins group in pyproject.toml).

Called by the boulder CLI / GUI plugin discovery system. Registers both solver-local plugins and process-global UI singletons.

Parameters:

pluginsBoulderPlugins instance provided by Boulder’s discovery machinery.