From f3281394b59e0092f19064887565668575eb1550 Mon Sep 17 00:00:00 2001 From: mst Date: Mon, 16 Feb 2026 17:00:00 -0700 Subject: gnu: Add python-sseclient-py. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-web.scm (python-sseclient-py): New variable. Merges: https://codeberg.org/guix/guix/pulls/6361 Change-Id: Ic4f7747816b71aab93a030c30839b44da8186a2b Reviewed-by: Nguyễn Gia Phong Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 116b37c7fcf..d16bef0d7d8 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -13088,6 +13088,32 @@ SendGrid Web API v3 endpoints, including the new v3 /mail/send.") "This package provides SSE plugin for Starlette.") (license license:bsd-3))) +(define-public python-sseclient-py + (package + (name "python-sseclient-py") + (version "1.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mpetazzoni/sseclient") + (commit (string-append "sseclient-py-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1yi2v8z89mygsr1vzyc4r3j7flr3jrh6a6kzqfdh86i5a5j5v280")))) + (build-system pyproject-build-system) + (native-inputs (list python-hatchling python-pytest)) + (arguments + (list + #:test-backend #~'unittest + #:test-flags #~'("discover" "--verbose" "tests"))) + (home-page "https://github.com/mpetazzoni/sseclient") + (synopsis "Pure-Python Server Side Events (SSE) client") + (description + "This package provides a Python client for SSE event sources that +seamlessly integrates with @code{urllib3} and @code{requests}.") + (license license:asl2.0))) + (define-public python-starlette (package (name "python-starlette") -- cgit v1.3