{ "info": { "author": "9dev", "author_email": "9devmail@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "*****************\ndjango-ratelimit9\n*****************\n\n``django-ratelimit9`` combines `django-recaptcha `_ and `django-ratelimit `_ into a single app.\n\nEach time when a limit is exceeded a reCAPTCHA field is dynamically appended to a Form. \n\nMake sure you have read the docs of these two requirements in order to learn how to set up limits and customize the reCAPTCHA.\n\nRequirements\n============\n\n- `django-recaptcha `_\n\n- `django-ratelimit `_\n\nInstallation\n============\n\n- Install via pip::\n\n pip install django-ratelimit9\n\n- Add ``ratelimit9`` to your ``INSTALLED_APPS``\n\nUsage\n=====\n\nLet's say you want to use view ``MyView`` along with ``MyForm`` form.\n\nCode for your ``forms.py``::\n\n\tfrom django.forms import Form\n\tfrom ratelimit9.forms import Ratelimit9Form\n\t\n\tclass MyForm(Ratelimit9Form, ModelForm):\n\t\t# ...\n\nCode for your ``views.py``::\n\n\tfrom django.views.generic import CreateView\n\tfrom ratelimit9.mixins import Ratelimit9Mixin\n\t\n\tclass MyView(Ratelimit9Mixin, CreateView):\n\t\tratelimit_key = 'ip'\n\t\tratelimit_rate = '5/m'\n\t\t# ...", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/9dev/django-ratelimit9", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-ratelimit9", "package_url": "https://pypi.org/project/django-ratelimit9/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-ratelimit9/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/9dev/django-ratelimit9" }, "release_url": "https://pypi.org/project/django-ratelimit9/0.1/", "requires_dist": null, "requires_python": null, "summary": "App that dynamically adds reCAPTCHA field to forms when user exceeds the rate limit", "version": "0.1" }, "last_serial": 1354333, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "47286f256de549f39bd2a8ae6b04a812", "sha256": "d9a9475407251755a2b2f46523780898b1b34660f3ecb5049e48bb5f369d609d" }, "downloads": -1, "filename": "django-ratelimit9-0.1.tar.gz", "has_sig": false, "md5_digest": "47286f256de549f39bd2a8ae6b04a812", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3204, "upload_time": "2014-12-19T13:47:01", "url": "https://files.pythonhosted.org/packages/b7/64/2f96168242381abd5d832511a3641e85d06869f3313c112a4d21ca49c184/django-ratelimit9-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "47286f256de549f39bd2a8ae6b04a812", "sha256": "d9a9475407251755a2b2f46523780898b1b34660f3ecb5049e48bb5f369d609d" }, "downloads": -1, "filename": "django-ratelimit9-0.1.tar.gz", "has_sig": false, "md5_digest": "47286f256de549f39bd2a8ae6b04a812", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3204, "upload_time": "2014-12-19T13:47:01", "url": "https://files.pythonhosted.org/packages/b7/64/2f96168242381abd5d832511a3641e85d06869f3313c112a4d21ca49c184/django-ratelimit9-0.1.tar.gz" } ] }