{ "info": { "author": "Andrew Svetlov", "author_email": "andrew.svetlov@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: AsyncIO", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP" ], "description": "aiohttp_security\n================\n.. image:: https://travis-ci.org/aio-libs/aiohttp-security.svg?branch=master\n :target: https://travis-ci.org/aio-libs/aiohttp-security\n.. image:: https://codecov.io/github/aio-libs/aiohttp-security/coverage.svg?branch=master\n :target: https://codecov.io/github/aio-libs/aiohttp-security\n.. image:: https://readthedocs.org/projects/aiohttp-security/badge/?version=latest\n :target: https://aiohttp-security.readthedocs.io/\n.. image:: https://img.shields.io/pypi/v/aiohttp-security.svg\n :target: https://pypi.python.org/pypi/aiohttp-security\n\nThe library provides identity and authorization for `aiohttp.web`__.\n\n.. _aiohttp_web: http://aiohttp.readthedocs.org/en/latest/web.html\n\n__ aiohttp_web_\n\nInstallation\n------------\nSimplest case (authorization via cookies) ::\n\n $ pip install aiohttp_security\n\nWith `aiohttp-session` support ::\n\n $ pip install aiohttp_security[session]\n\nExamples\n--------\nTake a look at examples:\n\n`Basic example`_\n\n`Example with DB auth`_\n\n.. _`Basic example`: docs/example.rst\n.. _`Example with db auth`: docs/example_db_auth.rst\n\nand demos at **demo** directory.\n\nDocumentation\n-------------\n\nhttps://aiohttp-security.readthedocs.io/\n\nDevelop\n-------\n\n``pip install -r requirements-dev.txt``\n\n\nLicense\n-------\n\n``aiohttp_security`` is offered under the Apache 2 license.\n\nChanges\n=======\n\n0.4.0 (2018-09-27)\n------------------\n\n- Bump minimal supported ``aiohttp`` version to 3.2\n\n- Use ``request.config_dict`` for accessing ``jinja2`` environment. It\n allows to reuse jinja rendering engine from parent application.\n\n0.3.0 (2018-09-06)\n------------------\n\n- Deprecate ``login_required`` and ``has_permission`` decorators.\n Use ``check_authorized`` and ``check_permission`` helper functions instead.\n\n- Bump supported ``aiohttp`` version to 3.0+\n\n- Enable strong warnings mode for test suite, clean-up all deprecation\n warnings.\n\n- Polish documentation\n\n0.2.0 (2017-11-17)\n------------------\n\n- Add ``is_anonymous``, ``login_required``, ``has_permission`` helpers (#114)\n\n0.1.2 (2017-10-17)\n------------------\n\n- Make aiohttp-session optional dependency (#107)\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aio-libs/aiohttp_security/", "keywords": "", "license": "Apache 2", "maintainer": "", "maintainer_email": "", "name": "aiohttp_security", "package_url": "https://pypi.org/project/aiohttp_security/", "platform": "", "project_url": "https://pypi.org/project/aiohttp_security/", "project_urls": { "Homepage": "https://github.com/aio-libs/aiohttp_security/" }, "release_url": "https://pypi.org/project/aiohttp_security/0.4.0/", "requires_dist": [ "aiohttp (>=3.2.0)", "aiohttp-session; extra == 'session'" ], "requires_python": "", "summary": "security for aiohttp.web", "version": "0.4.0" }, "last_serial": 4315290, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "db4fb32c272de57fde2638daa46a2ead", "sha256": "6de56979ca43fd009cb065f162fb8b7ad625af52e503d374a30d74c19a15db40" }, "downloads": -1, "filename": "aiohttp_security-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "db4fb32c272de57fde2638daa46a2ead", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5873, "upload_time": "2016-01-18T13:18:27", "url": "https://files.pythonhosted.org/packages/5c/46/cb4a4617bef4a1bc83fde679d6dadc93f839ed80e0078aa4bbe8ca2596b9/aiohttp_security-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ef902b53e54b39e55827d546000c8f4", "sha256": "710a5364085473d5d0b714716c3aa0fdcc1b1b3e751ae3230ad1ee9eb3721246" }, "downloads": -1, "filename": "aiohttp_security-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1ef902b53e54b39e55827d546000c8f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 570032, "upload_time": "2016-01-18T13:18:39", "url": "https://files.pythonhosted.org/packages/aa/d4/d8fd793ab5882e333ac6499289d60a541703acd0ae88d0d8b2b13bfa1d5e/aiohttp_security-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "83d23311c92bbd154a01bbe9819d1459", "sha256": "8f3c1c126ea7ee3b5f4bc4b355cf9b42bdd4e6aa14ce3a6e8ea0ee8ffed3617f" }, "downloads": -1, "filename": "aiohttp_security-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "83d23311c92bbd154a01bbe9819d1459", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 6083, "upload_time": "2017-09-18T18:20:01", "url": "https://files.pythonhosted.org/packages/1f/71/386a82c4ca3573cdec0c6071f6d433b8fde8e674f6dd2bcdd90ecf9f7ab3/aiohttp_security-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c7da13c300b2bb041103718b851e001e", "sha256": "234a0c0dd51d118a8160aa21691584232ac6c697e03c9f9f82bc882e5d98c9d0" }, "downloads": -1, "filename": "aiohttp-security-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c7da13c300b2bb041103718b851e001e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47517, "upload_time": "2017-09-18T18:16:12", "url": "https://files.pythonhosted.org/packages/03/91/e7a38b2515e396a727ee3206536a1c96bec78536e21cbb80f5cab754cecc/aiohttp-security-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "5ea90a7cb706a50f1913f75a97e0826a", "sha256": "0f0b3754fe21ffab4abf1181bbca3b5323b9e5d78d2256ac0599f4883fb18269" }, "downloads": -1, "filename": "aiohttp_security-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5ea90a7cb706a50f1913f75a97e0826a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6636, "upload_time": "2017-10-17T10:19:45", "url": "https://files.pythonhosted.org/packages/71/f0/0a8b31cc3d27c561405578a650168b73072ca7d613829e7602558a69a72d/aiohttp_security-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "faeedc5c638e7deef57f8ee95f16cdd7", "sha256": "9aac10a84f1f1696e77dfb79fa8779d35d6118555f1d6cfad536c48bc888d1d9" }, "downloads": -1, "filename": "aiohttp-security-0.1.2.tar.gz", "has_sig": false, "md5_digest": "faeedc5c638e7deef57f8ee95f16cdd7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48589, "upload_time": "2017-10-17T10:19:47", "url": "https://files.pythonhosted.org/packages/ed/e5/d48f5497818747aae3a00421444481567282c9c1aaf09ee016f0315f55a2/aiohttp-security-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "8e3a667949ecbb86321946d90833e5bd", "sha256": "2366ad4d14ba2e7c76ec0eae2f89e11ff0e54513606238fa29af3a79b68188b7" }, "downloads": -1, "filename": "aiohttp_security-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8e3a667949ecbb86321946d90833e5bd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7287, "upload_time": "2017-11-17T16:09:24", "url": "https://files.pythonhosted.org/packages/0e/57/5659ef3b5a1043c86cc1e4d11092eb5a6acca91da15c8151336415dfabf6/aiohttp_security-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7da29aca64d4203415ab266badeb655d", "sha256": "f732dd29135428329b7ed172719527e8755cb912b26c312565ec5297088e513c" }, "downloads": -1, "filename": "aiohttp-security-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7da29aca64d4203415ab266badeb655d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49818, "upload_time": "2017-11-17T16:09:25", "url": "https://files.pythonhosted.org/packages/19/db/2d0ed10bc38e9372e6865bd366e1ed15f822e0a17b01942d4f1e76bf6914/aiohttp-security-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "4c28e8d92c9c12e5f33147d760574710", "sha256": "e30e24f553d1c2ff47324f0f587baccdbb20e4d7bd227736819d5086498e9eb3" }, "downloads": -1, "filename": "aiohttp_security-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4c28e8d92c9c12e5f33147d760574710", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6804, "upload_time": "2018-09-06T10:24:49", "url": "https://files.pythonhosted.org/packages/0b/53/6dc9f8b9530787b7ebef135321d8941fcc080273ec6b0a5becebeac7d55a/aiohttp_security-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "83b419e34c63c94c362d3409857edb9f", "sha256": "cdbe608d102a6d24651c34811e9c57a149d80cf8a0e7e7c72cf90674060ae32e" }, "downloads": -1, "filename": "aiohttp-security-0.3.0.tar.gz", "has_sig": false, "md5_digest": "83b419e34c63c94c362d3409857edb9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53087, "upload_time": "2018-09-06T10:24:51", "url": "https://files.pythonhosted.org/packages/ab/f7/78ffc8b070f22ef75c1dcf7a3e7759899ce93c20021ae94b0a191a05d1ff/aiohttp-security-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "e45bc80396914be550d38179ae371fd6", "sha256": "0bd0ffbe2195c6f79378f24fb89fa19de62c747ab8f1c4df690fada7f8b45834" }, "downloads": -1, "filename": "aiohttp_security-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e45bc80396914be550d38179ae371fd6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6912, "upload_time": "2018-09-27T07:38:03", "url": "https://files.pythonhosted.org/packages/bc/a2/41c60c5020da25f20ab677445c680ed5dd413e0097966bd0a0846eee71d8/aiohttp_security-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1624f982d7a779e6ed396ef2ed20acc7", "sha256": "40d4bb150454e392c2dfa3620f6eab28e140e94cf0c2d3b4bf43aef653ec9405" }, "downloads": -1, "filename": "aiohttp-security-0.4.0.tar.gz", "has_sig": false, "md5_digest": "1624f982d7a779e6ed396ef2ed20acc7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53302, "upload_time": "2018-09-27T07:38:04", "url": "https://files.pythonhosted.org/packages/36/01/d85be376b7c1773b3cb7849cd56dc7d38165664df7de2d3e20af507ef5bb/aiohttp-security-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e45bc80396914be550d38179ae371fd6", "sha256": "0bd0ffbe2195c6f79378f24fb89fa19de62c747ab8f1c4df690fada7f8b45834" }, "downloads": -1, "filename": "aiohttp_security-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e45bc80396914be550d38179ae371fd6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6912, "upload_time": "2018-09-27T07:38:03", "url": "https://files.pythonhosted.org/packages/bc/a2/41c60c5020da25f20ab677445c680ed5dd413e0097966bd0a0846eee71d8/aiohttp_security-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1624f982d7a779e6ed396ef2ed20acc7", "sha256": "40d4bb150454e392c2dfa3620f6eab28e140e94cf0c2d3b4bf43aef653ec9405" }, "downloads": -1, "filename": "aiohttp-security-0.4.0.tar.gz", "has_sig": false, "md5_digest": "1624f982d7a779e6ed396ef2ed20acc7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53302, "upload_time": "2018-09-27T07:38:04", "url": "https://files.pythonhosted.org/packages/36/01/d85be376b7c1773b3cb7849cd56dc7d38165664df7de2d3e20af507ef5bb/aiohttp-security-0.4.0.tar.gz" } ] }