www/py-requests-ratelimiter 0.10.0 FreeBSD
Rate-limiting for the requests library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- www, python
- Package size
- 17.8 KiB, 65.6 KiB installed
Description
Requests-Ratelimiter is a simple wrapper around pyrate-limiter 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
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-requests-ratelimiter | 0.10.0 |
| OpenBSD | www/py-requests-ratelimiter | 0.9.2 |
| HardenedBSD | www/py-requests-ratelimiter | 0.10.0 |
| GhostBSD | www/py-requests-ratelimiter | 0.10.0 |
Install
Binary package:
pkg install py312-requests-ratelimiter
From the ports tree:
cd /usr/ports/www/py-requests-ratelimiter/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-requests-ratelimiter>0:www/py-requests-ratelimiter
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.10.0 | 0.10.0 | - | - | 0.10.0 |
| FreeBSD:14:quarterly | 0.10.0 | 0.10.0 | n/a | - | 0.10.0 |
| FreeBSD:15:latest | 0.10.0 | 0.10.0 | n/a | - | - |
| FreeBSD:15:quarterly | 0.10.0 | 0.10.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.10.0 | 0.10.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Runtime 2
${PYTHON_PKGNAMEPREFIX}pyrate-limiter>=4.1<5: devel/py-pyrate-limiter${PYTHON_PKGNAMEPREFIX}requests>=2.20: www/py-requests
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 14
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| requests_ratelimiter-0.10.0.tar.gz | 17190 | 9c1a78d7646caa5ccf211a6c341abd16d329be2c8c35044a418aa9da7c0e7a33 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.