SlowApi Features and Supported Backends
masterSlowApi is a rate limiting library for Starlette and FastAPI, adapted from flask-limiter. It uses the limits library for the underlying rate limiting logic.
Key Features
- Decorators: Supports single and multiple
limitdecorators on endpoint functions. - Endpoint Support: Works with both synchronous and asynchronous HTTP endpoints.
- Shared Limits: Supports applying shared limits across a set of routes.
- Backends: Supports
redis,memcached, andmemorybackends to track limits (withmemoryacting as a fallback). - Python Compatibility: Aims to support all currently supported versions of Python.