Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Flask-Plugins, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size Flask-Plugins-1.3.tar.gz (8.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page