Metadata-Version: 2.4
Name: Flask-Plugins
Version: 2.0.0
Summary: Create plugins for your Flask application
Author-email: Peter Justin <peter.justin@outlook.com>
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-Expression: BSD-3-Clause
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Flask
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
License-File: LICENSE
Requires-Dist: Flask>=2.0
Requires-Dist: MarkupSafe>=2.0
Requires-Dist: Werkzeug>=2.0
Project-URL: Changes, https://github.com/sh4nks/flask-plugins/releases/
Project-URL: Documentation, https://flask-plugins.readthedocs.io
Project-URL: Source, https://github.com/sh4nks/flask-plugins

[![Build Status](https://github.com/sh4nks/flask-plugins/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/sh4nks/flask-plugins/actions/workflows/ci.yml)

# 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](./LICENSE)

