net/py-pyrate-limiter - The NetBSD Packages Collection

Rate-Limiter using Leaky-Bucket Algorithm

The request rate limiter using Leaky-bucket Algorithm.

* Supports unlimited rate limits and custom intervals.
* Separately tracks limits for different services or resources.
* Manages limit breaches with configurable blocking or non-blocking behavior.
* Offers multiple usage modes: direct calls or decorators.
* Fully compatible with both synchronous and asynchronous workflows.
* Provides SQLite and Redis backends for persistent limit tracking across
  threads or restarts.
* Includes MultiprocessBucket and SQLite File Lock backends for multiprocessing
  environments.

Build dependencies

devel/py-hatchling devel/py-uv-dynamic-versioning devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/python313 lang/python313

Binary packages

OSArchitectureVersion
(none)

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.