{ "info": { "author": "Diogo Laginha", "author_email": "diogo.laginha.machado@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2" ], "description": "django-throttling\r\n=================\r\n\r\nThrottling system for Django views.\r\n\r\nBasic Usage\r\n--------------\r\n\r\n\r\nAdd to settings\r\n\r\n::\r\n\r\n INSTALLED_APPS = (\r\n ...\r\n 'throttling',\r\n )\r\n\r\n\r\nand in your views\r\n\r\n::\r\n\r\n from throttling.decorators import throttle\r\n\r\n @throttle(1000)\r\n def view(request):\r\n return HttpResponse('success')\r\n\r\n\r\nFeatures\r\n---------\r\n\r\n- limit to a maximum number of requests for each view or for a group of views\r\n - each anonymous user\r\n - each user (anonymous or authenticated)\r\n - each authenticated user with a certain user role\r\n - each authenticated user that bellongs to a group\r\n- limit to a shared maximum number of requests for each view or for a group of views\r\n - all anonymous users\r\n - all users (anonymous or authenticated)\r\n - all authenticated users that bellong to a group", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/laginha/django-throttling", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "throttling", "package_url": "https://pypi.org/project/throttling/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/throttling/", "project_urls": { "Homepage": "https://github.com/laginha/django-throttling" }, "release_url": "https://pypi.org/project/throttling/1.2.0/", "requires_dist": [ "django", "custom-user-roles" ], "requires_python": null, "summary": "Throttling system for Django views.", "version": "1.2.0" }, "last_serial": 1646799, "releases": { "1.1.2": [ { "comment_text": "", "digests": { "md5": "d6f746dbad36010279d3b8849187f543", "sha256": "7774e1f9ff411926a72a1b9037c0bfe2a13b7fc8560f8dd61a2d84529cceb02e" }, "downloads": -1, "filename": "throttling-1.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "d6f746dbad36010279d3b8849187f543", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6162, "upload_time": "2015-03-10T18:08:09", "url": "https://files.pythonhosted.org/packages/ec/9d/4ffa90833a3789926badf3f9f0678c1843ae926b0b03493afb8f4117fadf/throttling-1.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6baf4663e29c727c0d25c5f87535bfb1", "sha256": "2ca08416f6dc267c928365d506c1922c8c98314afb78123ddb463680cf810d33" }, "downloads": -1, "filename": "throttling-1.1.2.tar.gz", "has_sig": false, "md5_digest": "6baf4663e29c727c0d25c5f87535bfb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3631, "upload_time": "2015-03-10T18:08:13", "url": "https://files.pythonhosted.org/packages/5d/9b/cec84800259d3fd33a6c4326c25cc4010b1ef6fcdf2ce0a39c417a738f22/throttling-1.1.2.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "70a1b2a1b8792e4c356e88f8973ef5c1", "sha256": "b55aebc72cad79a99eba7fc2748dc0b24882a9539e5d8d6f6d0cbe5fb614ec2b" }, "downloads": -1, "filename": "throttling-1.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "70a1b2a1b8792e4c356e88f8973ef5c1", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6973, "upload_time": "2015-07-23T15:17:22", "url": "https://files.pythonhosted.org/packages/ec/bd/e910ef6c597838207cab9a85c71fba19e6645196fcd0ae1f595944c2133c/throttling-1.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "097d3f23b5f460283ce00e15243d41cd", "sha256": "4f333520a0a68dac102e193d0f515826c916f29b6e649a750bc1c037b0091462" }, "downloads": -1, "filename": "throttling-1.2.0.tar.gz", "has_sig": false, "md5_digest": "097d3f23b5f460283ce00e15243d41cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4066, "upload_time": "2015-07-23T15:17:26", "url": "https://files.pythonhosted.org/packages/28/85/e8e0e2ec00ee3462289e7d073a27a38a5c1f2d269fd2d6c253432a83510e/throttling-1.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "70a1b2a1b8792e4c356e88f8973ef5c1", "sha256": "b55aebc72cad79a99eba7fc2748dc0b24882a9539e5d8d6f6d0cbe5fb614ec2b" }, "downloads": -1, "filename": "throttling-1.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "70a1b2a1b8792e4c356e88f8973ef5c1", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6973, "upload_time": "2015-07-23T15:17:22", "url": "https://files.pythonhosted.org/packages/ec/bd/e910ef6c597838207cab9a85c71fba19e6645196fcd0ae1f595944c2133c/throttling-1.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "097d3f23b5f460283ce00e15243d41cd", "sha256": "4f333520a0a68dac102e193d0f515826c916f29b6e649a750bc1c037b0091462" }, "downloads": -1, "filename": "throttling-1.2.0.tar.gz", "has_sig": false, "md5_digest": "097d3f23b5f460283ce00e15243d41cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4066, "upload_time": "2015-07-23T15:17:26", "url": "https://files.pythonhosted.org/packages/28/85/e8e0e2ec00ee3462289e7d073a27a38a5c1f2d269fd2d6c253432a83510e/throttling-1.2.0.tar.gz" } ] }