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()
Release files for pluginbase 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pluginbase-1.0.1.tar.gz | 43.6 kB | Details |
Release files / pluginbase-1.0.1.tar.gz
| Download URL | pluginbase-1.0.1.tar.gz |
|---|---|
| Size | 43.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff6c33a98fce232e9c73841d787a643de574937069f0d18147028d70d7dee287
|
|
BLAKE2b-256 checksum How to use checksums |
f307753451e80d2b0bf3bceec1162e8d23638ac3cb18d1c38ad340c586e90b42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.10
|