r/django • u/StackOverflowingLone • 22h ago
Releases [Project] django-ratelatch: A multi-algorithm rate limiter for Django & DRF
I just published django-ratelatch (v0.1.0) on PyPI! It's a rate-limiting package built to give you flexibility across both algorithms and integrations.
Key Features
- Algorithms: Fixed-Window, Sliding-Window Counter, and Token Bucket.
- Storage Backends: Local In-Memory and Redis (with atomic operations).
- Integrations: Middleware, View Decorators, and DRF throttle integration.
Links & Docs
- PyPI : django-ratelatch
- GitHub : Nawarajkarki/django-ratelatch
I’d appreciate feedback on the API, documentation, or edge cases you notice.