devel/py-pyrate-limiter 4.5.0 DragonFly
Python rate limiter with pluggable algorithms and backends
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, python
- Package size
- 96.8 KiB, 526.6 KiB installed
Description
PyrateLimiter is a fast, async-friendly rate limiter for Python -- Leaky-Bucket algorithm with pluggable backends.
Features:
- Leaky-bucket algorithm: smooth, well-understood rate limiting.
- Multiple rates at once: e.g. 5/second and 1000/hour on the same key.
- Per-key limits: track different services, users, or resources independently.
- Pluggable backends: in-memory, SQLite, Redis (sync and async), Postgres, and multiprocessing.
- Sync & async: the same API works in both; async paths never block the event loop.
- Direct calls or decorators: limiter.try_acquire(...) or @limiter.as_decorator(...).
- Blocking or non-blocking: wait for a permit (with optional timeout) or fail fast.
In the other systems
The newest version among them is 4.5.1, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/py-pyrate-limiter | 4.5.0 behind since 2026-10-23 | none known | - | [email protected] | - |
| FreeBSD | devel/py-pyrate-limiter | 4.5.1 newest | none known | - | [email protected] | 2026-11-09 |
| OpenBSD | devel/py-pyrate-limiter | 4.5.1 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | 2026-10-23 |
| HardenedBSD | devel/py-pyrate-limiter | 4.5.0 behind since 2026-10-23 | no data | - | [email protected] | - |
| GhostBSD | devel/py-pyrate-limiter | 4.5.0 behind since 2026-10-23 | no data | - | [email protected] | - |
Version history 1
- 4.5.0
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install py312-pyrate-limiter
From DPorts:
cd /usr/dports/devel/py-pyrate-limiter && make install clean
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.