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.
Metadata
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 | Provenance | Actions |
|---|---|---|---|---|
| fourtwonine-0.1.0.tar.gz | 8.3 kB | Without provenance | Details for fourtwonine-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fourtwonine-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for fourtwonine-0.1.0-py3-none-any.whl |
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
|
Security for fourtwonine 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.