Port details |
- py-ratelim Makes it easy to respect rate limits
- 0.1.6_1 devel
=3 0.1.6Version of this port present on the latest quarterly branch. - Maintainer: acm@FreeBSD.org
 - Port Added: 2023-04-30 00:36:11
- Last Update: 2025-03-08 04:05:21
- Commit Hash: 06a08e6
- People watching this port, also watch:: nagios-check_hdd_health, nuitka-py311, monit, py311-beautifulsoup, openmdns
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/themiurgo/ratelim
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}ratelim>0:devel/py-ratelim@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-ratelim/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-ratelim
- pkg install py311-ratelim
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-ratelim listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-ratelim
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1680320725
SHA256 (ratelim-0.1.6.tar.gz) = 826d32177e11f9a12831901c9fda6679fd5bbea3605910820167088f5acbb11d
SIZE (ratelim-0.1.6.tar.gz) = 2793
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-decorator>0 : devel/py-decorator@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- devel/py-geocoder
Configuration Options:
- No options to configure
- Options name:
- devel_py-ratelim
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 3
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.1.6_1 08 Mar 2025 04:05:21
    |
Charlie Li (vishwin)  |
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details. |
0.1.6 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.1.6 29 Apr 2023 23:50:32
    |
Jose Alonso Cardenas Marquez (acm)  |
devel/py-ratelim: New port: Makes it easy to respect rate limits
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. |
Number of commits found: 3
|