Metadata-Version: 2.4
Name: Flask-Exts
Version: 0.2.2
Summary: Flask extensions with admin, SQLAlchemy, babel, forms, fields, widgets, and so on.
Project-URL: Documentation, https://flask-exts.readthedocs.io
Project-URL: Source, https://github.com/ojso/flask-exts
Project-URL: Homepage, https://github.com/ojso/flask-exts
Project-URL: Issues, https://github.com/ojso/flask-exts/issues
Author-email: David Hua <david.dong.hua@gmail.com>
License: MIT License
        
        Copyright (c) 2024-present David Hua <david.dong.hua@gmail.com>
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE.rst
Keywords: admin,babel,flask,form,sql,widget
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Flask
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Build Tools
Requires-Python: >=3.10
Requires-Dist: casbin>=1.0
Requires-Dist: flask-babel>=4.0
Requires-Dist: flask-login>=0.6
Requires-Dist: flask-sqlalchemy>=3.0
Requires-Dist: flask>=3.0
Requires-Dist: pyjwt>=2.0
Requires-Dist: tablib>=3.0
Requires-Dist: webauthn>=2.0
Requires-Dist: wtforms>=3.0
Provides-Extra: rediscli
Requires-Dist: redis>=4.0.0; extra == 'rediscli'
Description-Content-Type: text/x-rst

Flask Exts
==========

Flask-Exts is mainly inspired by:

- `Flask-Admin <https://github.com/pallets-eco/flask-admin/>`_
- `Flask-Security <https://github.com/pallets-eco/flask-security/>`_

Flask-Exts is partially rewrited from above and well tested.

License
-------

Flask-Exts is distributed under the terms of the `MIT <https://opensource.org/licenses/MIT>`_.


Installation
------------

Install and update using pip:

.. code-block:: console

    $ pip install -U Flask-Exts

Examples
----------

.. code-block:: python

    from flask import Flask
    from flask_exts import Manager

    app = Flask(__name__)
    app.config["SECRET_KEY"] = "dev"
    # Manager init
    manager = Manager()
    manager.init_app(app)

    if __name__ == "__main__":
        app.run(debug=True)

