Metadata-Version: 2.0
Name: django-ratelimit-backend
Version: 1.2
Summary: Login rate-limiting at the auth backend level
Home-page: https://github.com/brutasse/django-ratelimit-backend
Author: Bruno Renié
Author-email: bruno@renie.fr
License: BSD licence, see LICENCE file
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.9
Classifier: Framework :: Django :: 1.10
Classifier: Framework :: Django :: 1.11
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: Django

Django-ratelimit-backend
------------------------

.. image:: https://api.travis-ci.org/brutasse/django-ratelimit-backend.png
   :alt: Build Status
   :target: https://travis-ci.org/brutasse/django-ratelimit-backend

Rate-limit your login attempts at the authentication backend level. Login
attempts are stored in the cache for 5 minutes and IPs with more than 30
failed login attempts in the last 5 minutes are blocked.

The numbers (30 attempts, 5 minutes) as well as the blocking strategy can be
customized.

* Authors: Bruno Renié and `contributors`_

  .. _contributors: https://github.com/brutasse/django-ratelimit-backend/contributors

* Licence: BSD

* Compatibility: Django 1.8 and greater

* Documentation: https://django-ratelimit-backend.readthedocs.io

* Code: https://github.com/brutasse/django-ratelimit-backend

Credits
-------

* Simon Willison for his `ratelimitcache`_ idea

  .. _ratelimitcache: http://blog.simonwillison.net/post/57956846132/ratelimitcache

Hacking
-------

::

    git clone https://brutasse@github.com/brutasse/django-ratelimit-backend.git

Hack and run the tests::

    python setup.py test

To run the tests for all supported Python and Django versions::

    pip install tox
    tox


