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

static getSuffixes()[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


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


Attempt to load all the files in the given directory that match the Python suffix (.py)

static printTraceback(name)[source]