Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/sh4nks/flask-plugins
- Owner: sh4nks
- License: other
- Created: 2014-05-06T14:10:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-04-13T19:57:27.000Z (over 2 years ago)
- Last Synced: 2024-10-01T16:55:56.029Z (2 months ago)
- Topics: extension, flask
- Language: Python
- Homepage: http://flask-plugins.readthedocs.org/en/latest/
- Size: 79.1 KB
- Stars: 52
- Watchers: 5
- Forks: 21
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - flask-plugins - This extension provides an easy way to create plugins for your flask application. (Python)
- jimsghstars - sh4nks/flask-plugins - This extension provides an easy way to create plugins for your flask application. (Python)
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)