Skip to main content

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

Project description

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-1.0.1.tar.gz (43.6 kB view details)

Uploaded Source

File details

Details for the file pluginbase-1.0.1.tar.gz.

File metadata

  • Download URL: pluginbase-1.0.1.tar.gz
  • Upload date:
  • Size: 43.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pluginbase-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ff6c33a98fce232e9c73841d787a643de574937069f0d18147028d70d7dee287
MD5 8f1e3ba4d58187cece5b5a40ae1b0154
BLAKE2b-256 f307753451e80d2b0bf3bceec1162e8d23638ac3cb18d1c38ad340c586e90b42

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page