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.3.tar.gz
(39.5 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.3.tar.gz.
File metadata
- Download URL: pluginbase-0.3.tar.gz
- Upload date:
- Size: 39.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9486a2d50017551c3f0e474648b71ea2e39429720977119a437713ebae2257f
|
|
| MD5 |
a8d9bcb636a9125cd77308ca0db3fbe8
|
|
| BLAKE2b-256 |
d3571e6e328c79d6ab83169999d4944bdca0616dfc556099df4678bed498ea5e
|
File details
Details for the file pluginbase-0.3-py2-none-any.whl.
File metadata
- Download URL: pluginbase-0.3-py2-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26e0797a8bdfbdc308e3cd66d84cb66a8f86c4012ee0f3a403d85e65071d7dc6
|
|
| MD5 |
a8f39fba857151217edadf5e0aba321d
|
|
| BLAKE2b-256 |
9f54a32e647e42ce33e9332eba3b171fadd2131898f9e24084dbb215913e652d
|