Skip to main content

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


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page