Skip to main content

Django brute-forece guard

https://badge.fury.io/py/django-brute-guard.svg https://travis-ci.org/dcopm999/django-brute-guard.svg?branch=master https://codecov.io/gh/dcopm999/django-brute-guard/branch/master/graph/badge.svg

Django Brute-force guard

Documentation

The full documentation is at https://django-brute-guard.readthedocs.io.

Quickstart

Install Django brute-forece guard:

pip install django-brute-guard

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    "bruteguard",
    ...
)

MIDDLEWARE = [
    ...
    "bruteguard.middleware.brute_guard",
]

BRUTE_GUARD = {
    "MANAGER": "SingletonManager", # or "DjangoCacheManager"
    "VALIDATORS": ["BruteForceValidator"],
    "OPTIONS": {
        "error_attempts_counter": 5,
        "base_blocking_rate_minutes": 1,
        "multiple_blocking_rate": True,
    },
}

Add Django brute-forece guard’s URL patterns:

urlpatterns = [
    ...
    path("bruteguard/", include(bruteguard_urls)),
    ...
]

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Development commands

pip install -r requirements_dev.txt
invoke -l

Credits

Tools used in rendering this package:

History

0.1.0 (2021-09-23)

  • First release on PyPI.

Metadata

Release files for django-brute-guard 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-brute-guard 0.1.0
File Size Uploaded Provenance Actions
django-brute-guard-0.1.0.tar.gz 12.3 kB Without provenance Details for django-brute-guard-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-brute-guard 0.1.0
File Interpreter ABI Platform Actions
django_brute_guard-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for django_brute_guard-0.1.0-py2.py3-none-any.whl

Total release size: 26.5 kB

Release files / django-brute-guard-0.1.0.tar.gz

Download URL django-brute-guard-0.1.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b9681b68a7eefb061c4226e720f673cda44ad77e1d50df5d4b87fc38c8089d2a
BLAKE2b-256 checksum
How to use checksums
a80f68bb32736169420773b8278cd8b4eeed92227bb6030938cdf888be664d4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.3

Release files / django_brute_guard-0.1.0-py2.py3-none-any.whl

Download URL django_brute_guard-0.1.0-py2.py3-none-any.whl
Size 14.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6769ab270e58e664df5dc00af8531f0c081fa3d8bcc5b45e26d1d8b3129ab505
BLAKE2b-256 checksum
How to use checksums
c570786bec9347b2421d2de1d0eba657c3919fee425766dd55537d2d9d051027
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.3

Security for django-brute-guard 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page