{ "info": { "author": "Mahdi Ghane.g", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "microhttp-ratelimit\n===================\n\nRate limit extension for microhttp\n\n- Based LeakyBucket method on Redis\n- IP throttler decorator\n\n\nInstall\n-------\n\n\n.. code-block:: bash\n\n pip install microhttp-ratelimit\n\nNote: required to install ``Redis``.\n\n\nConfiguration\n-------------\n\n.. code-block:: yaml\n\n rate_limit:\n namespace_prefix: myApp\n redis:\n host: localhost\n port: 6379\n ip_rules:\n default:\n period: 900 # 15 Minutes\n limit: 180\n slow:\n period: 86400 # 24 Hours\n limit: 50\n very_slow:\n period: 86400\n limit: 10\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "microhttp_ratelimit", "package_url": "https://pypi.org/project/microhttp_ratelimit/", "platform": "", "project_url": "https://pypi.org/project/microhttp_ratelimit/", "project_urls": null, "release_url": "https://pypi.org/project/microhttp_ratelimit/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Rate limit extension for microhttp", "version": "0.1.0" }, "last_serial": 4830659, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a49ed82858e5391b8dce8815b1e79a42", "sha256": "a1d904de03b9f6466e8c4352a324c136d32ba4f6dd4219ea28c73af8bda58312" }, "downloads": -1, "filename": "microhttp_ratelimit-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a49ed82858e5391b8dce8815b1e79a42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3418, "upload_time": "2019-02-17T06:34:19", "url": "https://files.pythonhosted.org/packages/ec/60/7f1df9766b84f3a2f1e79cde411450868ccb6b7a7644ed77d09ae65d6773/microhttp_ratelimit-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a49ed82858e5391b8dce8815b1e79a42", "sha256": "a1d904de03b9f6466e8c4352a324c136d32ba4f6dd4219ea28c73af8bda58312" }, "downloads": -1, "filename": "microhttp_ratelimit-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a49ed82858e5391b8dce8815b1e79a42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3418, "upload_time": "2019-02-17T06:34:19", "url": "https://files.pythonhosted.org/packages/ec/60/7f1df9766b84f3a2f1e79cde411450868ccb6b7a7644ed77d09ae65d6773/microhttp_ratelimit-0.1.0.tar.gz" } ] }