Skip to content

Plugin manager

PluginManager #

Plugin manager.

Attributes:

  • plugins (Dict[str, Plugin]) –

    A dictionary of loaded plugins, keyed by their names.

load_folder async #
load_folder(directory: PathLike[str], *, recursive: bool = True) -> None

Load plugins from folder.

load_plugin_from_file #
load_plugin_from_file(file: PathLike[str]) -> Plugin | None

Load plugin from file.

File must have a plugin variable.