You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Andre Barboza f5b7f2bc8d python/pluginbase: New homepage. 9 years ago
..
README python/pluginbase: Added (Python development plugin module). 9 years ago
pluginbase.SlackBuild python/pluginbase: Added (Python development plugin module). 9 years ago
pluginbase.info python/pluginbase: New homepage. 9 years ago
slack-desc python/pluginbase: New homepage. 9 years ago

README

PluginBase is a module for Python that enables the development of
flexible plugin systems in Python.

Step 1:
from pluginbase import PluginBase
plugin_base = PluginBase(package='yourapplication.plugins')

Step 2:
plugin_source = plugin_base.make_plugin_source(
searchpath=['./path/to/plugins', './path/to/more/plugins'])

Step 3:
with plugin_source:
from yourapplication.plugins import my_plugin
my_plugin.do_something_cool()