A Extension that makes it possible to create plugins in Flask.
Flask-Plugins provides an easy way to create plugins and add hooks for your application. It is also possible to create Hooks which can than be used to extend your application without the need to modify your core code.
And Easy to Setup
First you need to install it via:
$ pip install flask-plugins
and then you need to initialize it somewhere in your code.
from flask.ext.plugins import PluginManager plugin_manager = PluginManager(app)
It also supports the factory pattern for creating your app.
from flask.ext.plugins import PluginManager plugin_manager = PluginManager() plugin_manager.init_app(app)