$npx skillfedfor your agent

aiohttp-sse

Server-sent events support for aiohttp.

Worth itPyPI WWW/HTTPReleased Feb 2024585.1K downloads / moApache 2Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aiohttp_sse-2.2.0-py3-none-any.whl
v2.2.0 · released 2024-02-29 · Python >=3.8 · 1 runtime deps: aiohttp

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It solves a specific, well-defined problem (server-sent events in aiohttp) with a clean API. Use it when you need to push data from an aiohttp server to browser clients over HTTP.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires aiohttp 3+ and Python 3.8 or later.
  • Low friction installation with a single dependency on aiohttp.
  • Actively maintained with recent commits and a stable release history since 2017.

License · maintenance · safety

Apache 2 (permissive) — Licensed under Apache 2 (permissive), allowing use in commercial and private projects with minimal restrictions.

last release 2024-02-29 (897 days) · last repo commit 2026-08-10 · 238 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 585,145 downloads/mo, #5,886 on PyPI

Verify before relying

pip install aiohttp-sse

from aiohttp import web
from aiohttp_sse import sse_response

async def stream_handler(request):
    async with sse_response(request) as resp:
        while resp.is_connected():
            await resp.send(data)
        return resp
  • Whether the package handles reconnection and backpressure automatically or if the caller must manage these.
  • Performance characteristics under high client counts or message throughput.
  • Support for custom event types beyond the default 'message' event.
Same gist for agents: .md · .json

What it is and what it does

aiohttp-sse wraps the EventSource protocol (server-sent events) for use in aiohttp web applications. It provides a context manager that lets you send data to a client over a persistent HTTP connection without closing it, enabling real-time push notifications and live data streams. The package handles the text/event-stream content type and connection lifecycle, so you focus on generating and sending data.

The typical workflow is to define an aiohttp route handler, use sse_response to open a streaming connection, then loop sending data while checking is_connected(). The client side uses the browser's native EventSource API to receive messages. It's a thin, focused layer on top of aiohttp for one specific use case: pushing events from server to client.

Use it for

  • Real-time dashboards or monitoring interfaces that display live server metrics or status updates.
  • Live notifications or alerts pushed to web clients without polling.
  • Streaming log output or progress updates from long-running server tasks to a web UI.
  • Chat or collaboration features where the server broadcasts events to multiple connected clients.
  • Stock tickers, sports scores, or other live data feeds delivered to web browsers.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It solves a specific, well-defined problem (server-sent events in aiohttp) with a clean API. Use it when you need to push data from an aiohttp server to browser clients over HTTP.

Install

aiohttp-sse on PyPI

Before you install

Low friction installation with a single dependency on aiohttp. Actively maintained with recent commits and a stable release history since 2017. Supports current Python versions (3.8–3.12).

Requires aiohttp 3+ and Python 3.8 or later.

License in practice

Licensed under Apache 2 (permissive), allowing use in commercial and private projects with minimal restrictions.

Quickstart

pip install aiohttp-sse

from aiohttp import web
from aiohttp_sse import sse_response

async def stream_handler(request):
    async with sse_response(request) as resp:
        while resp.is_connected():
            await resp.send(data)
        return resp

Verify before relying

  • Whether the package handles reconnection and backpressure automatically or if the caller must manage these.
  • Performance characteristics under high client counts or message throughput.
  • Support for custom event types beyond the default 'message' event.

Package facts

LicenseApache 2 permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
aiohttp
MaintenanceActively maintained 897 days since the last release
Last repo commit
First released
Downloads585,145 / month, #5,886 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Framework :: AsyncIOFramework :: aiohttpIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP

Evidence: aiohttp_sse-2.2.0-py3-none-any.whl

Tags

Capabilities
server-sent events aiohttpsse streaming httpaiohttp event streamreal-time push notificationstext/event-stream protocolasync http streamingeventsource aiohttp
Topics
streamingreal-timeasync-http

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 › “server-sent events aiohttp”

  • aiohttp-sseProvides server-sent events (EventSource) support for aiohttp…
  • aiohttp-sse-client2Provides an async Python client for consuming Server-Sent Events…
  • aiohttp-sse-clientProvides an async Python client for consuming Server-Sent Events…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

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.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

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.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

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.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

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.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

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.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also aiohttp-sse-client · aiohttp-sse-client2 · httpx-sse · sse-starlette · requests-sse · launchdarkly-eventsource · django-eventstream · sseclient · filigran-sseclient · aiohttp-xmlrpc