sseclient-py
SSE client for Python
Decision gist · record as of 2026-08-14
Yes, if you need to consume Server-Sent Events and are already using an HTTP client library. The package is lightweight, dependency-free at runtime, and permissively licensed. The aging maintenance status is not a blocker for straightforward SSE parsing, but verify that it works with your chosen HTTP client's current version and that you don't need advanced features like automatic reconnection.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7 or later; you must install and import one of urllib3, requests, or httpx separately to provide the HTTP stream.
- Low friction to install with no runtime dependencies.
- Maintenance status is aging—last release was 224 days ago—so expect slower response to issues, though the package has been stable since its first release in 2016.
License · maintenance · safety
Apache Software License v2 (permissive) — Licensed under Apache Software License v2, a permissive license that allows commercial and private use with minimal restrictions, making it safe to adopt in most projects.
last release 2026-01-02 (224 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 13,620,340 downloads/mo, #1,271 on PyPI
Alternatives
Verify before relying
import sseclient
res = http_response_stream # from urllib3, requests, or httpx
for event in sseclient.SSEClient(res).events():
print(event.data)- Whether the package handles reconnection, backoff, or error recovery on stream interruption.
- Performance characteristics when processing high-volume or long-lived event streams.
- Compatibility with recent versions of urllib3, requests, and httpx.
What it is and what it does
sseclient-py is a lightweight parser for Server-Sent Events (SSE), a standard protocol for pushing real-time updates from a server to a client over HTTP. It wraps response objects from popular HTTP libraries and exposes an iterator that yields individual events as they arrive on the stream. The package handles the SSE wire format (newline-delimited text with optional event types, IDs, and retry hints) so you don't have to.
Typical use is to pass an open HTTP response stream to SSEClient and iterate over its events() method. It has no runtime dependencies beyond Python itself, making it simple to add to projects that already use an HTTP client. The aging maintenance status (last release 224 days ago) suggests the package is stable but not actively developed; it works well for straightforward SSE consumption but may not track rapid changes in HTTP client APIs.
Use it for
- Consume real-time updates from a server (e.g., live notifications or status feeds) over a single HTTP connection.
- Build a client for push notifications using standard HTTP and SSE instead of a custom protocol.
- Stream structured events with type and ID fields from an event source and dispatch them to handlers.
- Monitor a remote service's event feed and react to specific event types in real time.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to consume Server-Sent Events and are already using an HTTP client library.
The package is lightweight, dependency-free at runtime, and permissively licensed. The aging maintenance status is not a blocker for straightforward SSE parsing, but verify that it works with your chosen HTTP client's current version and that you don't need advanced features like automatic reconnection.
Install
sseclient-py on PyPI
Before you install
Low friction to install with no runtime dependencies. Maintenance status is aging—last release was 224 days ago—so expect slower response to issues, though the package has been stable since its first release in 2016.
Requires Python 3.7 or later; you must install and import one of urllib3, requests, or httpx separately to provide the HTTP stream.
License in practice
Licensed under Apache Software License v2, a permissive license that allows commercial and private use with minimal restrictions, making it safe to adopt in most projects.
Quickstart
import sseclient
res = http_response_stream # from urllib3, requests, or httpx
for event in sseclient.SSEClient(res).events():
print(event.data)
Verify before relying
- Whether the package handles reconnection, backoff, or error recovery on stream interruption.
- Performance characteristics when processing high-volume or long-lived event streams.
- Compatibility with recent versions of urllib3, requests, and httpx.
Package facts
| License | Apache Software License v2 permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 224 days since the last release |
| First released | |
| Downloads | 13,620,340 / month, #1,271 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 |
Evidence: sseclient_py-1.9.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “SSE streaming parser”
- sseclient-pyParses Server-Sent Events (SSE) from HTTP response streams, yielding…
- sseclientIterates over Server Sent Event (SSE) streams from HTTP endpoints,…
- filigran-sseclientProvides a Python iterator interface for consuming Server Sent Event…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also requests-sse · django-eventstream · aiohttp-sse-client · filigran-sseclient · sseclient · httpx-sse · aiohttp-sse-client2 · launchdarkly-eventsource · omnigent-client · datastar-py