aiohttp-sse-client2
A Server-Sent Event python client base on aiohttp
Decision gist · record as of 2026-08-14
Yes, if you need SSE support in an async Python application and are comfortable with dormant maintenance. The package is stable, has no known vulnerabilities, and low install friction. However, check whether the upstream aiohttp-sse-client has resumed activity—if it has, prefer that instead, since this fork is explicitly intended to be temporary. For new projects, evaluate whether the upstream is now suitable before committing to this fork.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7 or later and an async runtime (asyncio event loop).
- Low install friction; pure Python wheel with four stable runtime dependencies (aiohttp, attrs, multidict, yarl).
- Maintenance is dormant—last release February 2023, no commits since September 2024, and the maintainer notes this fork will be retired if the upstream package revives.
License · maintenance · safety
Apache License 2.0 (permissive) — Apache License 2.0 is permissive; you may use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.
last release 2023-02-07 (1284 days) · last repo commit 2024-09-11 · 6 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 119,422 downloads/mo, #12,073 on PyPI
Alternatives
Verify before relying
from aiohttp_sse_client2 import client as sse_client
async with sse_client.EventSource(
'https://stream.wikimedia.org/v2/stream/recentchange'
) as event_source:
async for event in event_source:
print(event)- Whether the upstream aiohttp-sse-client project has resumed active maintenance, given the stated retirement condition.
- Specific error message improvements and response-body inclusion in exceptions mentioned in fork motivation.
- Whether auto-reconnect behavior is configurable or has known limitations.
What it is and what it does
aiohttp-sse-client2 is an async HTTP client for consuming Server-Sent Events—a standard web protocol for pushing data from a server to a client over a persistent HTTP connection. It wraps aiohttp to provide a simple async iterator interface: you open an EventSource to a URL and iterate over incoming events, with built-in automatic reconnection if the network drops. The package is a maintained fork of an older project, updated to support modern Python versions (3.7–3.11) and to include response body details in error messages when the server returns a non-200 status.
Typical use cases are real-time data streams (stock tickers, live notifications, event logs) where you want to consume events as they arrive without polling. Because it is built on aiohttp and asyncio, it integrates naturally into async Python applications and can handle many concurrent streams efficiently. The library is in alpha status and dormant—the maintainer will retire it if the original upstream project becomes active again.
Use it for
- Consume live event streams from public APIs like Wikimedia's recent changes feed.
- Build real-time dashboards or notification systems that subscribe to server-sent events.
- Integrate SSE data ingestion into an existing aiohttp-based async application.
- Handle network interruptions gracefully with automatic reconnection during event streaming.
- Process continuous data feeds (logs, metrics, alerts) without polling.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need SSE support in an async Python application and are comfortable with dormant maintenance.
The package is stable, has no known vulnerabilities, and low install friction. However, check whether the upstream aiohttp-sse-client has resumed activity—if it has, prefer that instead, since this fork is explicitly intended to be temporary. For new projects, evaluate whether the upstream is now suitable before committing to this fork.
Install
aiohttp-sse-client2 on PyPI
Before you install
Low install friction; pure Python wheel with four stable runtime dependencies (aiohttp, attrs, multidict, yarl). Maintenance is dormant—last release February 2023, no commits since September 2024, and the maintainer notes this fork will be retired if the upstream package revives.
Requires Python 3.7 or later and an async runtime (asyncio event loop).
License in practice
Apache License 2.0 is permissive; you may use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.
Quickstart
from aiohttp_sse_client2 import client as sse_client
async with sse_client.EventSource(
'https://stream.wikimedia.org/v2/stream/recentchange'
) as event_source:
async for event in event_source:
print(event)
Verify before relying
- Whether the upstream aiohttp-sse-client project has resumed active maintenance, given the stated retirement condition.
- Specific error message improvements and response-body inclusion in exceptions mentioned in fork motivation.
- Whether auto-reconnect behavior is configurable or has known limitations.
Package facts
| License | Apache License 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesaiohttpattrsmultidictyarl |
| Maintenance | Dormant 1,284 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 119,422 / month, #12,073 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaFramework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP |
Evidence: aiohttp_sse_client2-0.3.0-py2.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 › “aiohttp sse client”
- aiohttp-sse-client2Provides an async Python client for consuming Server-Sent Events…
- aiohttp-sse-clientProvides an async Python client for consuming Server-Sent Events…
- aiohttp-sseProvides server-sent events (EventSource) support for aiohttp…
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 aiohttp-sse-client · requests-sse · sse-starlette · aiohttp-sse · httpx-sse · omnigent-client · launchdarkly-eventsource · sseclient-py · filigran-sseclient · replicate