Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aio-libs/aiohttp-security
auth and permissions for aiohttp
https://github.com/aio-libs/aiohttp-security
aiohttp asyncio
Last synced: 3 months ago
JSON representation
auth and permissions for aiohttp
- Host: GitHub
- URL: https://github.com/aio-libs/aiohttp-security
- Owner: aio-libs
- License: apache-2.0
- Created: 2015-07-08T17:29:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-05-29T11:58:25.000Z (8 months ago)
- Last Synced: 2024-05-30T00:04:21.883Z (8 months ago)
- Topics: aiohttp, asyncio
- Language: Python
- Size: 512 KB
- Stars: 228
- Watchers: 12
- Forks: 69
- Open Issues: 14
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - aiohttp-security - auth and permissions for aiohttp (Python)
README
aiohttp_security
================
.. image:: https://travis-ci.com/aio-libs/aiohttp-security.svg?branch=master
:target: https://travis-ci.com/aio-libs/aiohttp-security
.. image:: https://codecov.io/github/aio-libs/aiohttp-security/coverage.svg?branch=master
:target: https://codecov.io/github/aio-libs/aiohttp-security
.. image:: https://readthedocs.org/projects/aiohttp-security/badge/?version=latest
:target: https://aiohttp-security.readthedocs.io/
.. image:: https://img.shields.io/pypi/v/aiohttp-security.svg
:target: https://pypi.python.org/pypi/aiohttp-securityThe library provides identity and authorization for `aiohttp.web`__.
.. _aiohttp_web: http://aiohttp.readthedocs.org/en/latest/web.html
__ aiohttp_web_
Installation
------------
Simplest case (authorization via cookies) ::$ pip install aiohttp_security
With `aiohttp-session` support ::
$ pip install aiohttp_security[session]
Examples
--------
Take a look at examples:`Basic example`_
`Example with DB auth`_
.. _`Basic example`: docs/example.rst
.. _`Example with db auth`: docs/example_db_auth.rstand demos at **demo** directory.
Documentation
-------------https://aiohttp-security.readthedocs.io/
Develop
-------``pip install -r requirements-dev.txt``
License
-------``aiohttp_security`` is offered under the Apache 2 license.