{"added":null,"apiVersion":1,"behindSince":"2026-10-23","buildDepends":[],"categories":["devel","python"],"comment":"Python rate limiter with pluggable algorithms and backends","compare":"/compare/py312-pyrate-limiter/index.json","dependentCount":null,"description":"PyrateLimiter is a fast, async-friendly rate limiter for Python -- Leaky-Bucket\nalgorithm with pluggable backends.\n\nFeatures:\n- Leaky-bucket algorithm: smooth, well-understood rate limiting.\n- Multiple rates at once: e.g. 5/second and 1000/hour on the same key.\n- Per-key limits: track different services, users, or resources independently.\n- Pluggable backends: in-memory, SQLite, Redis (sync and async), Postgres, and\n  multiprocessing.\n- Sync \u0026 async: the same API works in both; async paths never block the event\n  loop.\n- Direct calls or decorators: limiter.try_acquire(...) or\n  @limiter.as_decorator(...).\n- Blocking or non-blocking: wait for a permit (with optional timeout) or fail\n  fast.","flavors":[],"html":"https://daemonports.org/dragonfly/devel/py-pyrate-limiter/","kind":"port","lastUpdate":null,"license":["MIT"],"licenses":["MIT"],"maintainer":"sunpoet@FreeBSD.org","name":"py312-pyrate-limiter","newest":false,"newestVersion":"4.5.1","noVulnData":false,"origin":"devel/py-pyrate-limiter","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/py-pyrate-limiter","path":"/devel/py-pyrate-limiter/","system":"FreeBSD","updated":"2026-11-09","version":"4.5.1"},{"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"devel/py-pyrate-limiter","path":"/openbsd/devel/py-pyrate-limiter/","system":"OpenBSD","updated":"2026-10-23","version":"4.5.1"},{"behindSince":"2026-10-23","maintainer":"sunpoet@FreeBSD.org","noVulnData":true,"origin":"devel/py-pyrate-limiter","path":"","system":"HardenedBSD","version":"4.5.0"},{"behindSince":"2026-10-23","maintainer":"sunpoet@FreeBSD.org","noVulnData":true,"origin":"devel/py-pyrate-limiter","path":"","system":"GhostBSD","version":"4.5.0"}],"packages":null,"pkgName":"py312-pyrate-limiter-4.5.0","related":null,"repository":"DPorts","requiredBy":["www/py-requests-ratelimiter"],"requiredByCount":1,"runDepends":["lang/python312"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"4.5.0","versions":[{"date":"2026-11-11","version":"4.5.0"}],"vulnerabilities":null,"www":"https://pyratelimiter.readthedocs.io/en/latest/"}
