Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sh4nks/flask-plugins

This extension provides an easy way to create plugins for your flask application.
https://github.com/sh4nks/flask-plugins

extension flask

Last synced: about 1 month ago
JSON representation

This extension provides an easy way to create plugins for your flask application.

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/sh4nks/flask-plugins.svg?branch=master)](https://travis-ci.org/sh4nks/flask-plugins) [![Coverage Status](https://coveralls.io/repos/sh4nks/flask-plugins/badge.png)](https://coveralls.io/r/sh4nks/flask-plugins)

# 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](https://pypi.python.org/pypi/flask-plugins).

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](https://flask-plugins.readthedocs.org/en/latest/).

# LICENSE

[BSD LICENSE](http://flask.pocoo.org/docs/license/#flask-license)