BSD Ports

devel/py-ratelim 0.1.6_1 DragonFly

Makes it easy to respect rate limits

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
4.9 KiB, 15.4 KiB installed

Description

Ratelim is a simple Python library that limits the number of times a function can be called during a time interval. It is particularly useful when using online APIs, which commonly enforce rate limits.

Features

  • Works in Py2 and Py3.
  • Greedy and patient rate limiting.
  • Preserves function signature.

In the other systems

SystemPortVersion
DragonFlydevel/py-ratelim0.1.6_1
FreeBSDdevel/py-ratelim0.1.6_1
HardenedBSDdevel/py-ratelim0.1.6_1
GhostBSDdevel/py-ratelim0.1.6_1

Install

Binary package:

pkg install py311-ratelim

From DPorts:

cd /usr/dports/devel/py-ratelim && make install clean

Dependencies

Run dependencies 2
Required by 1