python3-limits: Add recipe
PATCH 1/2 python3-limits: Add recipe
Rate limiting utilities. Add recipe for release 5.8.0:
- Allow explicit keyword arguments for storage options for username & password for storages that support it.
- Allow explicitly specifying startup_nodes through keyword arguments for all redis cluster storages.
- Support IPv6 addresses in cluster locators in storage URI
Signed-off-by Leon Anavi <[email protected]>
--- .../python/python3-limits_5.8.0.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-limits_5.8.0.bb
meta-python/recipes-devtools/python/python3-limits_5.8.0.bb new file +18 -0
@@ -0,0 +1,18 @@ +SUMMARY = "Rate limiting utilities" +DESCRIPTION = "About Rate limiting using various strategies and \ +storage backends such as redis, memcached & mongodb" +HOMEPAGE = "https://github.com/alisaifee/limits" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2455d5e574bc0fc489411ca45766ac78" + +SRC_URI[sha256sum] = "c9e0d74aed837e8f6f50d1fcebcf5fd8130957287206bc3799adaee5092655da" + +inherit pypi python_hatchling + +DEPENDS += "python3-hatch-vcs-native" + +RDEPENDS:${PN} += " \ + python3-deprecated \ + python3-packaging \ + python3-typing-extensions \ +"
Signature · 1 line
2.47.3
PATCH 2/2 python3-flask-limiter: Add recipe
Rate limiting for flask applications. Add recipe for release 4.1.1:
- Ensure cli commands fail gracefully when cli dependencies are not installed.
Signed-off-by Leon Anavi <[email protected]>
--- .../python/python3-flask-limiter_4.1.1.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-flask-limiter_4.1.1.bb
meta-python/recipes-devtools/python/python3-flask-limiter_4.1.1.bb new file +21 -0
@@ -0,0 +1,21 @@ +SUMMARY = "Rate Limiting extension for Flask" +DESCRIPTION = "Flask-Limiter adds rate limiting to Flask applications." +HOMEPAGE = "https://github.com/alisaifee/flask-limiter" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2455d5e574bc0fc489411ca45766ac78" + +SRC_URI[sha256sum] = "ca11608fc7eec43dcea606964ca07c3bd4ec1ae89043a0f67f717899a4f48106" + +PYPI_PACKAGE = "flask_limiter" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +inherit pypi python_hatchling + +DEPENDS += "python3-hatch-vcs-native" + +RDEPENDS:${PN} += " \ + python3-flask \ + python3-limits \ + python3-ordered-set \ + python3-werkzeug \ +"
Signature · 1 line
2.47.3