Fetchez Hooks#
Hooks allow you to intercept, filter, and modify data before, during or after the fetch process.
fetchez.hooks.__init__#
This init file also holds the FetchHook super class
- copyright:
2010-2026 Regents of the University of Colorado
- license:
MIT, see LICENSE for more details.
- class fetchez.hooks.FetchHook(stage=None, **kwargs)[source]#
Bases:
objectBase class for all Fetchez Hooks.
- name = 'base_hook'#
- desc = 'Does something.'#
- category = 'uncategorized'#
- stage = 'file'#
fetchez.hooks.registry#
This holds the hook registry.
- copyright:
2010-2026 Regents of the University of Colorado
- license:
MIT, see LICENSE for more details.
- class fetchez.hooks.registry.HookRegistry[source]#
Bases:
object- classmethod load_builtins()[source]#
Recursively scan and load all built-in hooks from the ‘builtins’ directory.
- classmethod load_user_plugins()[source]#
Scan ~/.fetchez/hooks/ and .fetchez/hooks for python files.