pyplugin v0.6.0

Pyplugin is a plugin framework library, supporting declarative-style plugin writing, allowing modular, swappable functionality in any codebase.

See the source code for this version on github

Getting Started

To get started see Getting Started.

Contributing

Want a new feature, found a bug, or have questions? Feel free to add to our issue board on Github! Open Issues.

We welcome any developer who enjoys the package enough to contribute! Please check out the Developer’s Guide.

What’s New in v0.6.0

Features

  • Added PluginGroup class which is a collection of plugins that can be loaded and unloaded together sharing requirements, along with a pre- and post-load hooking mechanism for group loading.

  • Added parameter make_safe to the load() method that will make the calling args and kwargs safe, i.e. only passing in parameters that are defined in the signature.

  • Dynamic requirements no longer force-ably passes in the plugin instance on reload.

Other Changes