The Problem: Existing libraries were either unmaintained, lacked proper async support, or didn't handle backend failure gracefully (taking down the app if Redis timed out).
The Solution:
Algorithms: Implements Token Bucket, Sliding Window, and Fixed Window. Resilience: Built-in Circuit Breaker. If Redis/Mongo is down, it fails open (or closed) to keep the app responsive. Concurrency: Native support for async def views via coredis. Backends: Redis, MongoDB, and in-memory. It's type-safe (mypy strict) and designed as a drop-in replacement for django-ratelimit.
Repo: https://github.com/YasserShkeir/django-smart-ratelimit Docs: https://pypi.org/project/django-smart-ratelimit/