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
Release files for Flask-Plugins 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Flask-Plugins-1.3.tar.gz | 8.7 kB | Details |
Release files / Flask-Plugins-1.3.tar.gz
| Download URL | Flask-Plugins-1.3.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b60d80a4f4cee4bd15c472d11c3e3fb954afcb530f0470047373c7816a06b08
|
|
BLAKE2b-256 checksum How to use checksums |
426dc619c7e9d9182a0f42ca70edc7672de330cbc16062ddd91507e0f08e3b33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |