src.eddie.discover_plugins

Methods used to find packages that are eddie plugins, and return information to help import them.

Attributes

log

Functions

discover_plugins(→ dict[str, types.ModuleType])

Collate all plugin packages that start with 'eddie_' and return their information as a dict

Module Contents

src.eddie.discover_plugins.log
src.eddie.discover_plugins.discover_plugins() dict[str, types.ModuleType]

Collate all plugin packages that start with ‘eddie_’ and return their information as a dict

Returns:

Dictionary of all packages found in the current environment starting with ‘eddie_’. The key is the package name, the value is the package module itself.

Return type:

dict[str, ModuleType]