{ "info": { "author": "Bence Nagy", "author_email": "bence@underyx.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only" ], "description": "#############\naiohttp-limit\n#############\n\n.. image:: https://circleci.com/gh/underyx/aiohttp-limit.svg?style=shield\n :target: https://circleci.com/gh/underyx/aiohttp-limit\n :alt: CI Status\n\nAn aiohttp_ middleware for limiting connections.\nPython 3.5+ is required for usage, 3.7+ is required for tests.\n\n*****\nUsage\n*****\n\nJust add ``LimitMiddleware`` as a middleware:\n\n.. code-block:: python\n\n from aiohttp import web\n from aiohttp_limit import LimitMiddleware\n app = web.Application(middlewares=[LimitMiddleware(requests=10)])\n\nThis sample usage will restrict requests to 10 per worker.\n\n.. _aiohttp: http://aiohttp.readthedocs.io/en/stable/\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/underyx/aiohttp-limit/releases", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/underyx/aiohttp-limit", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "aiohttp-limit", "package_url": "https://pypi.org/project/aiohttp-limit/", "platform": "", "project_url": "https://pypi.org/project/aiohttp-limit/", "project_urls": { "Download": "https://github.com/underyx/aiohttp-limit/releases", "Homepage": "https://github.com/underyx/aiohttp-limit" }, "release_url": "https://pypi.org/project/aiohttp-limit/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "An aiohttp middleware for limiting connections", "version": "0.1.0" }, "last_serial": 4711885, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "bd4cba50055509fdc38d99da140d29fd", "sha256": "a8acca8df174f19d77e77ed2b04717b616192a961163fb2296a7bdc6602a4bcf" }, "downloads": -1, "filename": "aiohttp_limit-0.1.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "bd4cba50055509fdc38d99da140d29fd", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 4078, "upload_time": "2019-01-18T11:34:35", "url": "https://files.pythonhosted.org/packages/f8/15/de8e4d9f49adcfbc2a2ce0a56be321f905ca56135232736ac3f57c7a8099/aiohttp_limit-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5eea6db53d9a59826703d1e36a492529", "sha256": "f231e3eaf4ec80f69838a5d1ca86b4e7c74624d69bc5dc145043dcccc63afcc6" }, "downloads": -1, "filename": "aiohttp-limit-0.1.0.tar.gz", "has_sig": true, "md5_digest": "5eea6db53d9a59826703d1e36a492529", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2359, "upload_time": "2019-01-18T11:34:38", "url": "https://files.pythonhosted.org/packages/69/07/9ef7e4a25671b9255607f6a0f9bd72c46e15478625e4e9c973a7b68abf63/aiohttp-limit-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bd4cba50055509fdc38d99da140d29fd", "sha256": "a8acca8df174f19d77e77ed2b04717b616192a961163fb2296a7bdc6602a4bcf" }, "downloads": -1, "filename": "aiohttp_limit-0.1.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "bd4cba50055509fdc38d99da140d29fd", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 4078, "upload_time": "2019-01-18T11:34:35", "url": "https://files.pythonhosted.org/packages/f8/15/de8e4d9f49adcfbc2a2ce0a56be321f905ca56135232736ac3f57c7a8099/aiohttp_limit-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5eea6db53d9a59826703d1e36a492529", "sha256": "f231e3eaf4ec80f69838a5d1ca86b4e7c74624d69bc5dc145043dcccc63afcc6" }, "downloads": -1, "filename": "aiohttp-limit-0.1.0.tar.gz", "has_sig": true, "md5_digest": "5eea6db53d9a59826703d1e36a492529", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2359, "upload_time": "2019-01-18T11:34:38", "url": "https://files.pythonhosted.org/packages/69/07/9ef7e4a25671b9255607f6a0f9bd72c46e15478625e4e9c973a7b68abf63/aiohttp-limit-0.1.0.tar.gz" } ] }