A Extension that makes it possible to create plugins in Flask.
Project description
Flask-Plugins provides an easy way to create plugins for your application. It is also possible to create Events 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)
Resources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Flask-Plugins-1.4.tar.gz
(9.0 kB
view hashes)