Metadata-Version: 2.4
Name: Flask-Allows2
Version: 1.1.0
Summary: Impose authorization requirements on Flask routes
Keywords: flask,authorization,permissions
Author-email: Alec Nikolas Reiter <alecreiter@gmail.com>
Maintainer-email: Peter Justin <peter.justin@outlook.com>
Requires-Python: >=3.12
Description-Content-Type: text/x-rst
License-Expression: MIT
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Flask
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
License-File: LICENSE
Requires-Dist: Flask>=2.0.0
Project-URL: Documentation, https://flask-allows2.readthedocs.io/en/latest/
Project-URL: Issues, https://github.com/flaskbb/flask-allows2/issues
Project-URL: Source, https://github.com/flaskbb/flask-allows2

Flask-Allows2
=============

Are your permissions making too much noise all the time? Are your permissions
stomping all over your actual code? Are your permission decorators clawing
at your line count all the time? Think there's no answer? There is! Flask-Allows.


Flask-Allows2 is an authorization tool for Flask inspired by
`django-rest-framework <https://github.com/tomchristie/django-rest-framework>`_'s
permissioning system and `rest_condition <https://github.com/caxap/rest_condition>`_'s
ability to compose simple requirements into more complex ones.

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

Flask-Allows2 is available on `pypi <https://pypi.org/project/Flask-Allows2/>`_ and
installable with::

    pip install Flask-Allows2

Flask-Allows2 supports 3.12+.

.. note::

    If you are installing ``Flask-Allows2`` outside of a virtual environment,
    consider installing it with ``pip install --user Flask-Allows2`` rather
    than using sudo or adminstrator privileges to avoid installing it into
    your system Python.


More Information
----------------

- For more information, `please visit the documentation <https://flask-allows2.readthedocs.io/en/latest/>`_.
- Found a bug, have a question, or want to request a feature? Here is our `issue tracker <https://github.com/flaskbb/flask-allows2/issues>`_.
- Need the source code? Here is the `repository <https://github.com/flaskbb/flask-allows2>`_

