Skip to content

V0.1.0: Initial release

Choose a tag to compare

@devbijay devbijay released this 26 Jun 19:02
· 17 commits to main since this release

🎉 Highlights

  • First public release of FastAPI-Cap: a robust, extensible, and production-ready rate limiting library for FastAPI, powered by Redis and Lua scripting.

✨ Features

  • Multiple Rate Limiting Algorithms:
    • Fixed Window
    • Sliding Window (Approximated)
    • Sliding Window (Log-based)
    • Token Bucket
    • Leaky Bucket
    • GCRA (Generic Cell Rate Algorithm)
  • Easy FastAPI Integration:
    Use as dependencies or decorators for seamless route protection.
  • Customizable:
    Plug in your own key extraction and limit handling logic.
  • Distributed & High Performance:
    All strategies are backed by Redis and atomic Lua scripts for consistent, scalable enforcement.
  • Developer Friendly:
    Type hints, async support, and clear error messages.