BSD Ports

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

SystemPortVersion
FreeBSDwww/py-requests-ratelimiter0.10.0
OpenBSDwww/py-requests-ratelimiter0.9.2
HardenedBSDwww/py-requests-ratelimiter0.10.0
GhostBSDwww/py-requests-ratelimiter0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.10.00.10.0--0.10.0
FreeBSD:14:quarterly0.10.00.10.0n/a-0.10.0
FreeBSD:15:latest0.10.00.10.0n/a--
FreeBSD:15:quarterly0.10.00.10.0n/an/an/a
FreeBSD:16:latest0.10.00.10.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 14

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
requests_ratelimiter-0.10.0.tar.gz171909c1a78d7646caa5ccf211a6c341abd16d329be2c8c35044a418aa9da7c0e7a33
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.