Skip to content

api

PluginInterface

Interface for plugins to adhere to.

When creating a new plugin, you must provide the initialize method, which is called to setup the plugin.

initialize staticmethod

initialize()

Initialize the plugin

PluginManager

PluginManager()

Manage plugins. You should not need to interact with this.

A plugin manager is created to load plugins anytime you import pychamber.

get_local_plugins

get_local_plugins()

Gets plugins provided by PyChamber.

get_user_plugins

get_user_plugins()

Gets plugins provided by the user.

import_plugin

import_plugin(name)

Import a plugin module

load_plugins

load_plugins()

Initialize all registered plugins.

This is where each plugin's initialize method is called.