| Port details |
- py-pyrate-limiter Python Rate-Limiter using Leaky-Bucket Algorithm
- 4.4.0 devel
=0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2026-06-26 20:51:43
- Last Update: 2026-06-26 20:42:59
- Commit Hash: 542e6ed
- Also Listed In: python
- License: MIT
- WWW:
- https://pyratelimiter.readthedocs.io/en/latest/
- https://github.com/vutran1710/PyrateLimiter
- 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.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pyrate-limiter>0:devel/py-pyrate-limiter@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-pyrate-limiter/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pyrate-limiter
- pkg install py312-pyrate-limiter
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-pyrate-limiter listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py312-pyrate-limiter
- Package flavors (<flavor>: <package>)
- py312: py312-pyrate-limiter
- distinfo:
- TIMESTAMP = 1780751894
SHA256 (pyrate_limiter-4.4.0.tar.gz) = 2c0c720c4fa16c5d8199e4821bf34507fb49c007a25b786cec6fb94ffd0844aa
SIZE (pyrate_limiter-4.4.0.tar.gz) = 90955
No package information for this port in our database- Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py312-hatchling>=0 : devel/py-hatchling@py312
- python3.12 : lang/python312
- py312-build>=0 : devel/py-build@py312
- py312-installer>=0 : devel/py-installer@py312
- Test dependencies:
-
- python3.12 : lang/python312
- Runtime dependencies:
-
- python3.12 : lang/python312
- This port is required by:
- for Run
-
- www/py-requests-ratelimiter
Configuration Options:
- ===> The following configuration options are available for py312-pyrate-limiter-4.4.0:
ALL=off: All optional dependencies
===> Use 'make config' to modify these settings
- Options name:
- devel_py-pyrate-limiter
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|