BSD Ports

devel/py-pyrate-limiter 4.5.0 FreeBSD

Python rate limiter with pluggable algorithms and backends

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
8ace50658a
License
MIT
Categories
devel, python
Package size
102.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.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDdevel/py-pyrate-limiter4.5.0 newestnone known-[email protected]2026-09-09
OpenBSDdevel/py-pyrate-limiter4.0.2no data-The OpenBSD ports mailing-list <[email protected]>2026-10-23
HardenedBSDdevel/py-pyrate-limiter4.5.0 newestno data-[email protected]-
GhostBSDdevel/py-pyrate-limiter4.5.0 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install py312-pyrate-limiter

From the ports tree:

cd /usr/ports/devel/py-pyrate-limiter/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-pyrate-limiter>0:devel/py-pyrate-limiter

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.5.04.5.0--4.5.0
FreeBSD:14:quarterly4.5.04.5.0n/a-4.5.0
FreeBSD:15:latest4.5.04.5.0n/a--
FreeBSD:15:quarterly4.5.04.5.0n/an/an/a
FreeBSD:16:latest4.5.04.5.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 7

Configuration

Options name: devel_pyrate-limiter

OptionDefaultDescription
ALLoffAll optional dependencies
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pyrate_limiter-4.5.0.tar.gz123240098345fff3a52b84dee9bcf6973f184c8b3ef8d34e1f4f781ac0773e3984598b
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
8ace50658a Po-Chuan Hsieh devel/py-pyrate-limiter: Update to 4.5.0
- Update COMMET Changes: https://github.com/vutran1710/PyrateLimiter/releases https://pyratelimiter.readthedocs.io/en/latest/changelog.html