pkgcore.plugin module¶
Plugin system, heavily inspired by twisted’s plugin system.
- pkgcore.plugin.get_plugin(key, package=None)[source]¶
Get a single plugin matching this key.
This assumes all plugins for this key have a priority attribute. If any of them do not the AttributeError is not stopped.
- Returns:
highest-priority plugin or None if no plugin available.