net/py-pyrate-limiter 4.5.0 NetBSD
Rate-Limiter using Leaky-Bucket Algorithm
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
2d4aadb7f3- License
- mit
- Categories
- net, python
- Package size
- 97.4 KiB, 569.1 KiB installed
Description
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.
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkgin install py311-pyrate-limiter
From pkgsrc:
cd /usr/pkgsrc/net/py-pyrate-limiter && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 4.5.0 |
| NetBSD 10.1 aarch64 | 4.5.0 |
| SmartOS / illumos x86_64 | 4.5.0 |
| macOS 15 arm64 | 4.5.0 |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 2
Required by 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-pyrate-limiter-4.5.0,py313-pyrate-limiter-4.5.0,py314-pyrate-limiter-4.5.0