forked from mitsuhiko/pluginbase
-
Notifications
You must be signed in to change notification settings - Fork 0
A simple but flexible plugin system for Python.
License
ahuabupt/pluginbase
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
{ pluginbase } 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() Or alternatively: my_plugin = plugin_source.load_plugin('my_plugin') my_plugin.do_something_cool()
About
A simple but flexible plugin system for Python.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Python 99.2%
- Makefile 0.8%