devel/py-pyrate-limiter 4.0.2 OpenBSD
Python rate-limiter using Leaky-Bucket
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
9f067c9002- Categories
- devel, lang/python
Description
The request rate limiter using Leaky-bucket algorithm.
Features
- Tracks any number of rate limits and intervals you want to define
- Independently tracks rate limits for multiple services or resources
- Handles exceeded rate limits by either raising errors or adding delays
- Several usage options including a normal function call, a decorator, or a contextmanager
- Async support
- Includes optional SQLite and Redis backends, which can be used to persist limit tracking across multiple threads, processes, or application restarts
In the other systems
The newest version among them is 4.5.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| OpenBSD | devel/py-pyrate-limiter | 4.0.2 behind since 2026-09-09 | no data | - | The OpenBSD ports mailing-list <[email protected]> | 2026-10-23 |
| FreeBSD | devel/py-pyrate-limiter | 4.5.0 newest | none known | - | [email protected] | 2026-09-09 |
| HardenedBSD | devel/py-pyrate-limiter | 4.5.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-pyrate-limiter | 4.5.0 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg_add py3-pyrate-limiter
From the ports tree:
cd /usr/ports/devel/py-pyrate-limiter && make install
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.