Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brutasse/django-ratelimit-backend
Rate-limit your login attempts at the authentication backend level
https://github.com/brutasse/django-ratelimit-backend
Last synced: 14 days ago
JSON representation
Rate-limit your login attempts at the authentication backend level
- Host: GitHub
- URL: https://github.com/brutasse/django-ratelimit-backend
- Owner: brutasse
- License: bsd-3-clause
- Created: 2011-10-18T11:29:35.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2021-01-14T15:21:47.000Z (almost 4 years ago)
- Last Synced: 2024-04-16T07:02:04.609Z (8 months ago)
- Language: Python
- Homepage: https://django-ratelimit-backend.readthedocs.io
- Size: 112 KB
- Stars: 169
- Watchers: 4
- Forks: 35
- Open Issues: 16
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
- awesome-django-security - Django Ratelimit Backend - limit your login attempts at the authentication backend level (Libs / Session management)
README
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-backendRate-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://[email protected]/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