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 and add hooks for your application. It is also possible to create Hooks 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.0.1.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file Flask-Plugins-1.0.1.tar.gz.

File metadata

  • Download URL: Flask-Plugins-1.0.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Flask-Plugins-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3d20f23564d7e06f496da8a1648ffb64db660e1e3d18d55210a4557efea8e52f
MD5 ec9280c580dd2c65df15e5f4e13272f7
BLAKE2b-256 7bd7a3aaaa0444ebe91078ce0ee26e5c7ab474bb258f42571637d6a4cf82a0c9

See more details on using hashes here.

Supported by

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