rate-limiting for the requests library
Project homepage: https://github.com/JWCook/requests-ratelimiter
Description
This package is a simple wrapper around pyrate-limiter v2 that adds
convenient integration with the requests library.
Features
- pyrate-limiter is a general-purpose rate-limiting library that
implements the leaky bucket algorithm, supports multiple rate limits,
and has optional persistence with SQLite and Redis backends
- requests-ratelimiter adds some conveniences for sending rate-limited
HTTP requests with the requests library
- It can be used as either a session or a transport adapter
- It can also be used as a mixin, for compatibility with other
requests-based libraries
- Rate limits are tracked separately per host
- Different rate limits can optionally be applied to different hosts
Package information
- Ports path
- www/py-requests-ratelimiter
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- www, 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
- www/py-requests-cache
- www/py-requests-mock
- devel/py-pyrate-limiter STEM->=4,<5
- www/py-requests
- lang/python/3
- devel/py-test
Used by (2 dependency relationships)
Includes library, runtime, build and test dependencies.