Create plugins for your Flask application
Flask-Plugins makes it possible, to create plugins for your application. In addition to the plugin system, it also provides a simple event system which can be used by plugins to extend your application without the need to modify your core code.
And Easy to Setup
First of all, you have to install it:
$ pip install flask-plugins
and then you need to initialize it somewhere in your code.
from flask_plugins import PluginManager plugin_manager = PluginManager(app)
Want to use the factory pattern? No problem!
from flask_plugins import PluginManager plugin_manager = PluginManager() plugin_manager.init_app(app)
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.