Registry#
fetchez.registry#
A unified, dynamic registry system for discovering and loading Fetchez Modules, Hooks, Schemas, and other plugins.
- copyright:
2010-2026 Regents of the University of Colorado
- license:
MIT, see LICENSE for more details.
- class fetchez.registry.PluginRegistry[source]#
Bases:
objectBase class for dynamically discovering and registering plugins.
- classmethod load_installed_plugins()[source]#
Load external pip-installed extensions via entry_points.
- classmethod load_fast()[source]#
Loads from the JSON cache for instant CLI menus. If cache is missing, falls back to the slow load_all().
- classmethod get_class(name)[source]#
Returns the class if cached, or lazily imports it on demand.
- Parameters:
name (
str)
- class fetchez.registry.YamlRegistry[source]#
Bases:
objectA registry for discovering and loading yaml configuration files (recipes and hook presets).
- classmethod load_fast()#
- class fetchez.registry.ModuleRegistry[source]#
Bases:
PluginRegistry- base_class#
alias of
FetchModule
- class fetchez.registry.HookRegistry[source]#
Bases:
PluginRegistry
- class fetchez.registry.SchemaRegistry[source]#
Bases:
PluginRegistry- base_class#
alias of
BaseSchema
- class fetchez.registry.ReaderRegistry[source]#
Bases:
PluginRegistry- base_class#
alias of
BaseReader
- class fetchez.registry.RecipeRegistry[source]#
Bases:
YamlRegistryA registry for discovering and loading YAML recipes.
- class fetchez.registry.PresetRegistry[source]#
Bases:
YamlRegistry
- class fetchez.registry.BundleRegistry[source]#
Bases:
YamlRegistryA registry for discovering and loading Module Bundles (Data Packages).