summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1b963f9108c..610097b13e4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -10338,6 +10338,32 @@ Pyramid web framework.")
framework.")
(license license:repoze))))
+(define-public python-pyramid-retry
+ (package
+ (name "python-pyramid-retry")
+ (version "2.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyramid_retry" version))
+ (sha256
+ (base32 "1jf07v6zhli0abgm2qajzfwg68bl9zy4xygjwl4svawbwrm2ga5s"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-setuptools
+ python-webtest))
+ (propagated-inputs
+ (list python-pyramid
+ python-zope-interface))
+ (home-page "https://github.com/Pylons/pyramid_retry")
+ (synopsis "Pyramid execution policy supporting retrying failed requests")
+ (description
+ "@code{pyramid_retry} is an execution policy for Pyramid that wraps requests
+and can retry them a configurable number of times under certain \"retryable\"
+error conditions before indicating a failure to the client.")
+ (license license:expat)))
+
(define-public python-random-user-agent
(package
(name "python-random-user-agent")