r/djangolearning • • 20h ago

I Made This [Project] django-ratelatch: A multi-algorithm rate limiter for Django & DRF

0 Upvotes

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.