# jazzband/django-axes

Keep track of failed login attempts in Django-powered sites.

Repository: https://github.com/jazzband/django-axes
Canonical: https://ross.abutalabs.com/products/django-axes
Language: Python
License: MIT
License Family: permissive
Last push: 2026-08-18T12:02:39+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 98, release rhythm 58, longevity 100
- inputs: {"age_days": 6104, "days_push": 15, "days_rel": 203, "gap_med": 48, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1700, forks 366 (observed 2026-08-28T04:05:24.239296+00:00)

## What it is
django-axes is a Django plugin that tracks failed login attempts and blocks brute-force attacks on Django-powered sites. It supports monitoring by IP, username, and user agent, with database or cache-backed persistence, cool-off periods, and IP allow/block lists.

## Use cases
- block brute-force login attacks on a Django site
- lock out users after too many failed login attempts
- rate limit authentication attempts by IP address
- allowlist or blocklist IP addresses for Django logins
- track suspicious login attempts in the database or cache
- meet PCI compliance requirements for login attempt monitoring

## When to choose
- you run a Django site and need brute-force protection out of the box
- you want configurable lockouts by IP, username, or user agent
- you need PCI-compliant login attempt tracking
- you want a mature, well-documented Django security plugin

## When to avoid
- your project is not built on Django
- you need full WAF or DDoS protection rather than login-level throttling
- you use a non-relational stack without Django's ORM or cache framework

## Facets
- artifact type: plugin
- maturity: stable
- function: auth, security, rate-limiting, middleware
- domain: security, web-development, backend, developer-tools
- platform: python, self-hosted
- tags: django, brute-force-protection, login-attempt-tracking, jazzband, access-management, web-server

## Member repositories
- jazzband/django-axes (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:24.239296+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:37:45.935834+00:00, confidence not recorded.
  - readme: https://github.com/jazzband/django-axes (fetched 2026-08-28T04:05:24.239296+00:00, sha 6c628ab154d9)
  - registry_pypi: https://pypi.org/pypi/django-axes/json (fetched 2026-08-29T11:12:18.393422+00:00, sha d426420485cb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
