pluginmanager

Contains the PluginManager class.

class tuiview.pluginmanager.PluginManager[source]
callAction(actioncode, param)[source]

Calls PLUGIN_ACTION_FN on each of the loaded plugins with the supplit PLUGIN_ACTION_* constant and a parameter

loadPluginFromPath(path)[source]

Try loading a plugin given a path to it. Module put into self.plugins with the key being the name the module describes itself as

loadPlugins()[source]

Order is: 1. If there is a plugins directory under where we are running 2. Any directories listed in os.getenv(PLUGINS_ENV) 3. Under ~/.tuiview/plugins Reads any Python file that has the required entries

loadPluginsFromDir(directory)[source]

Attempt to load all the files in the given directory that match the Python suffix

static printTraceback(name)[source]