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)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size Flask-Plugins-1.6.1.tar.gz (10.3 kB)||File type Source||Python version None||Upload date||Hashes View hashes|