Skip to content

Liminova/fourtwonine

Repository files navigation

fourtwonine

Yet another rate limiter for Starlette and FastAPI.

This is simply a thin layer over the limits library, making it easy to define flexible rate limits.

Features

  • Fully async and typed
  • Supports any data store the limits library supports: redis, mongodb, memcached, etc.
  • Supports legacy rate limit headers, as well as IETF draft 06 and draft 07 headers.
  • Exposes rate limit state (under request.state.rate_limit by default)

Examples

Check the examples directory for how to integrate this into your app.

About

Simple, flexible rate limits for Starlette and FastAPI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages