{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/3"}],"enrichment":{"capability":"Provides server-sent events (EventSource) support for aiohttp applications, allowing servers to push data to connected clients over HTTP without closing the connection.","skillfed_tags":["streaming","real-time","async-http"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"aiohttp-sse","links":{"html":"https://skillfed.io/packages/aiohttp-sse","md":"https://skillfed.io/packages/aiohttp-sse.md","pypi":"https://pypi.org/project/aiohttp-sse/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-02-29","license_spdx":null,"license_treatment":"permissive","name":"aiohttp-sse","python_support":"supports_current","summary":"Server-sent events  support for aiohttp."},"popularity":{"monthly_downloads":585145,"position":5886,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.2.0"}
