Create plugins for your Flask application
Project description
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)
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.6.1.tar.gz
(10.3 kB
view details)
File details
Details for the file Flask-Plugins-1.6.1.tar.gz
.
File metadata
- Download URL: Flask-Plugins-1.6.1.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c96132f1975684720ff117e6c7ab2ce989d176f6b3240a9a90b3d25f93dcc22 |
|
MD5 | 400ace54d0f1d6724ffbdcd8f801bc4f |
|
BLAKE2b-256 | 2d76d976cb13e7177fe35883143794224b72e9497cd1fd0fac8c19537ab57275 |