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
Licence: BSD
Compatibility: Django 1.8 and greater
Documentation: https://django-ratelimit-backend.readthedocs.io
Credits
Simon Willison for his ratelimitcache idea
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
Release files for django-ratelimit-backend 2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-ratelimit-backend-2.0.tar.gz | 14.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_ratelimit_backend-2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 21.0 kB
Release files / django-ratelimit-backend-2.0.tar.gz
| Download URL | django-ratelimit-backend-2.0.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de1056767b0cf3a5a78b2e7685153d55891720e2b3fdbd1a35cf689a97b1bffe
|
|
BLAKE2b-256 checksum How to use checksums |
eb948ee54ad1ae413f5547ce9aeeedb89a910154908efce1600c276418cdf724
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.22.0 CPython/3.5.5
|
Release files / django_ratelimit_backend-2.0-py2.py3-none-any.whl
| Download URL | django_ratelimit_backend-2.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9fa1f8b3f45101f49eabb2cdfd032e1af1e12f37b8b888ca3265f363389dd8be
|
|
BLAKE2b-256 checksum How to use checksums |
c1616230218ab8137235581461b48bc16cedf95946cf1d18ae4df7ee882a01e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.22.0 CPython/3.5.5
|