Skip to content

sh4nks/flask-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

50ee67a · Apr 13, 2022

History

56 Commits
Apr 13, 2021
Jan 25, 2016
Apr 13, 2022
Jan 26, 2016
May 8, 2014
Jan 26, 2016
May 6, 2014
Sep 20, 2014
Jan 26, 2016
Jan 26, 2016
Jan 25, 2016
May 8, 2014
Jan 26, 2016
Jan 26, 2016
May 8, 2014
Jan 26, 2016
Jan 26, 2016

Repository files navigation

Build Status Coverage Status

FLASK-PLUGINS

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.

INSTALLATION

First you need to install it. It is available on the Python Package Index.

pip install flask-plugins

and then you need to initialize it somewhere in your code.

from flask_plugins import PluginManager

plugin_manager = PluginManager()

it also supports the factory pattern.

from flask_plugins import PluginManager

plugin_manager = PluginManager()
plugin_manager.init_app(app)

DOCUMENTATION

The documentation is located here.

LICENSE

BSD LICENSE