mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
830b1bd071
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.
10 lines
305 B
Plaintext
10 lines
305 B
Plaintext
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.
|