notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
py-pyrate-limiter Python Rate-Limiter using Leaky-Bucket Algorithm
4.4.0 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 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 search for ports maintained by this maintainer
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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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:
  1. py312-hatchling>=0 : devel/py-hatchling@py312
  2. python3.12 : lang/python312
  3. py312-build>=0 : devel/py-build@py312
  4. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. python3.12 : lang/python312
Runtime dependencies:
  1. python3.12 : lang/python312
This port is required by:
for Run
  1. 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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pyrate_limiter/
  2. https://pypi.org/packages/source/p/pyrate_limiter/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.4.0
26 Jun 2026 20:42:59
commit hash: 542e6eda3dd10fb5e559d3d6faab852da6c29569commit hash: 542e6eda3dd10fb5e559d3d6faab852da6c29569commit hash: 542e6eda3dd10fb5e559d3d6faab852da6c29569commit hash: 542e6eda3dd10fb5e559d3d6faab852da6c29569 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-pyrate-limiter: Add py-pyrate-limiter 4.4.0

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.

Number of commits found: 1