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
limitslibrary 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_limitby default)
Examples
Check the examples directory for how to integrate this into your app.
Release files for fourtwonine 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fourtwonine-0.1.0.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fourtwonine-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.9 kB
Release files / fourtwonine-0.1.0.tar.gz
| Download URL | fourtwonine-0.1.0.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb5ae1542cdbd28a0fec6181ff1fffb6cdd4cb4e636532d589e1545517230a92
|
|
BLAKE2b-256 checksum How to use checksums |
2621fd5e6d15d4bbca20dfc42d38583323b3aaef094569555ad4dfbdf2328d76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Release files / fourtwonine-0.1.0-py3-none-any.whl
| Download URL | fourtwonine-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
983418213ef3b2c675e0fe68b8820001eb21b1b01d323152303d4e51d9fa9a7e
|
|
BLAKE2b-256 checksum How to use checksums |
bd873dc488fd08f665e1a53661c85d73853bddf06323706f3fcbc0b91f268fea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|