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.

Source Distribution

Flask-Plugins-1.5.tar.gz (9.0 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