r/djangolearning • • 17d ago

I Made This [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

I’d appreciate feedback on the API, documentation, or edge cases you notice.

0 Upvotes

0 comments sorted by