$npx skillfedfor your agent

requests-sse

server-sent events python client library based on requests

Worth itPyPI Python ModulesReleased Mar 2026217.6K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — requests_sse-0.5.3-py3-none-any.whl
v0.5.3 · released 2026-03-11 · Python <4.0,>=3.7 · 1 runtime deps: requests

Yes. Low install friction, active maintenance, permissive license, no known vulnerabilities, and a straightforward API make this a solid choice for SSE consumption in Python. Install it if you need to consume Server-Sent Events and prefer a synchronous, requests-based approach over async alternatives.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single runtime dependency (requests).
  • Active maintenance with recent commits and support across Python 3.7 through 3.14, including PyPy.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2026-03-11 (156 days) · last repo commit 2026-03-18 · 9 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 217,590 downloads/mo, #9,355 on PyPI

Verify before relying

pip install requests-sse

import requests
from requests_sse import EventSource

with EventSource("https://example.com/stream", timeout=30) as event_source:
    for event in event_source:
        print(event)
  • Whether the package handles reconnection logic or requires manual retry on connection loss
  • Performance characteristics when consuming high-frequency event streams
  • Support for custom headers or authentication beyond what requests provides
Same gist for agents: .md · .json

What it is and what it does

requests-sse wraps the requests library to consume Server-Sent Events from HTTP endpoints. It provides an EventSource context manager that yields individual events from an SSE stream, with built-in exception types (InvalidStatusCodeError, InvalidContentTypeError) for handling protocol violations. The package is a thin, synchronous client designed for straightforward SSE consumption in Python applications.

Typical usage involves opening an EventSource to a streaming endpoint, iterating over events in a loop, and catching requests or SSE-specific exceptions. It's built on top of requests, so it inherits that library's connection handling, timeout management, and HTTP features. The package supports Python 3.7 and later, including current and recent Python versions.

Use it for

  • Consume real-time updates from public SSE endpoints like Wikimedia event streams or similar live data feeds
  • Build monitoring dashboards that pull continuous event streams from backend services
  • Integrate live notifications or status updates into Python applications without polling
  • Process event-driven data pipelines where events arrive asynchronously from an HTTP source

Worth the install?

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

Worth it

Yes.

Low install friction, active maintenance, permissive license, no known vulnerabilities, and a straightforward API make this a solid choice for SSE consumption in Python. Install it if you need to consume Server-Sent Events and prefer a synchronous, requests-based approach over async alternatives.

Install

requests-sse on PyPI

Before you install

Low install friction with a single runtime dependency (requests). Active maintenance with recent commits and support across Python 3.7 through 3.14, including PyPy.

License in practice

Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install requests-sse

import requests
from requests_sse import EventSource

with EventSource("https://example.com/stream", timeout=30) as event_source:
    for event in event_source:
        print(event)

Verify before relying

  • Whether the package handles reconnection logic or requires manual retry on connection loss
  • Performance characteristics when consuming high-frequency event streams
  • Support for custom headers or authentication beyond what requests provides

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4.0,>=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
requests
MaintenanceActively maintained 156 days since the last release
Last repo commit
First released
Downloads217,590 / month, #9,355 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: requests_sse-0.5.3-py3-none-any.whl

Tags

Capabilities
server-sent events clientsse streaming pythonhttp event stream consumerrequests-based ssereal-time event streamingserver sent events library
Topics
streaminghttp-clientreal-time
PyPI keywords
server-sent eventsssestreamrequests

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 client”

  • requests-sseProvides a Python client for consuming Server-Sent Events (SSE)…
  • aiohttp-sse-client2Provides an async Python client for consuming Server-Sent Events…
  • sseclient-pyParses Server-Sent Events (SSE) from HTTP response streams, yielding…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

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