A support library for building plugins sytems in Python.
Project description
{ 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()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pluginbase-0.1.tar.gz
(37.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pluginbase-0.1.tar.gz.
File metadata
- Download URL: pluginbase-0.1.tar.gz
- Upload date:
- Size: 37.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
395c505c0137eef33b32d576bd57caf679bf0b08ce50c5e10e160530fe6ddace
|
|
| MD5 |
e02a1f83651810ea9af1dbd181c1b42e
|
|
| BLAKE2b-256 |
2a6d062f927139538519aefefb08ce292f7173b6b5f0ae057bffc844cf2cdf6c
|
File details
Details for the file pluginbase-0.1-py2-none-any.whl.
File metadata
- Download URL: pluginbase-0.1-py2-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02926009e25f99524d185f5278f5d9340573f059a16d03749fe446705c4f87cc
|
|
| MD5 |
76f6bbc554e77d6b9c2cf604a9b1b3a5
|
|
| BLAKE2b-256 |
134e9e3dbd852c5ea1429331dc81e2dbec07db66782bd14eb5337d736a5d55fa
|