Python rate-limiter using Leaky-Bucket
Project homepage: https://github.com/vutran1710/PyrateLimiter
Description
The request rate limiter using Leaky-bucket algorithm.
Features
- Tracks any number of rate limits and intervals you want to define
- Independently tracks rate limits for multiple services or resources
- Handles exceeded rate limits by either raising errors or adding delays
- Several usage options including a normal function call, a decorator,
or a contextmanager
- Async support
- Includes optional SQLite and Redis backends, which can be used to
persist limit tracking across multiple threads, processes, or
application restarts
Package information
- Ports path
- devel/py-pyrate-limiter
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
Build
Test
Used by (2 dependency relationships)
Includes library, runtime, build and test dependencies.