launchdarkly-eventsource
LaunchDarkly SSE Client
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive license, and solves a clear problem—consuming SSE streams with production-grade retry logic. Use the synchronous SSEClient for stable, reliable event streaming. Avoid the async variant in production unless you have tested it thoroughly in your specific use case, as it is explicitly experimental.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or higher.
- Async variant requires optional aiohttp dependency installed via pip install launchdarkly-eventsource[async].
- Low friction installation with a single runtime dependency (urllib3).
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-07-22 (23 days) · last repo commit 2026-07-22 · 6 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 12,014,706 downloads/mo, #1,348 on PyPI
Alternatives
Verify before relying
pip install launchdarkly-eventsource
from launchdarkly_eventsource import SSEClient
client = SSEClient('https://example.com/events')
for event in client:
print(event.data)- Whether the synchronous SSEClient is production-ready or carries similar stability caveats as the async variant.
- Performance characteristics and throughput limits under sustained event streams.
- Whether custom stream implementations beyond urllib3 are documented and supported.
What it is and what it does
LaunchDarkly-eventsource is a Python library for consuming Server-Sent Events (SSE) from remote HTTP endpoints. It provides both a synchronous implementation (SSEClient) that blocks the caller's thread and an experimental async variant (AsyncSSEClient) for asyncio-based applications. The library implements the SSE specification with extensions like exponential backoff retry logic, configurable read timeouts, custom headers, and the ability to retry on HTTP error statuses—behaviors beyond the standard EventSource specification.
The package is designed primarily to support the LaunchDarkly SDK for Python but works independently for any SSE consumption use case. It uses urllib3 by default for HTTP requests but can be configured to read from arbitrary input streams. The async implementation is explicitly marked experimental and not recommended for production; the synchronous implementation is the stable, recommended path for most users.
Use it for
- Consume feature flag updates from LaunchDarkly's streaming API in a Python backend service.
- Build a real-time event listener that processes server-sent events with automatic reconnection and backoff.
- Integrate SSE streams into asyncio applications using the experimental AsyncSSEClient for non-blocking event consumption.
- Stream configuration or notification updates from a remote HTTP endpoint with custom retry and timeout policies.
- Monitor and react to server events in a long-running daemon process with resilient connection handling.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive license, and solves a clear problem—consuming SSE streams with production-grade retry logic. Use the synchronous SSEClient for stable, reliable event streaming. Avoid the async variant in production unless you have tested it thoroughly in your specific use case, as it is explicitly experimental.
Install
launchdarkly-eventsource on PyPI
Before you install
Low friction installation with a single runtime dependency (urllib3). Actively maintained with a recent release; supports current Python versions (3.10 and higher). Async features are experimental and not production-ready.
Requires Python 3.10 or higher. Async variant requires optional aiohttp dependency installed via pip install launchdarkly-eventsource[async].
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install launchdarkly-eventsource
from launchdarkly_eventsource import SSEClient
client = SSEClient('https://example.com/events')
for event in client:
print(event.data)
Verify before relying
- Whether the synchronous SSEClient is production-ready or carries similar stability caveats as the async variant.
- Performance characteristics and throughput limits under sustained event streams.
- Whether custom stream implementations beyond urllib3 are documented and supported.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageurllib3 |
| Maintenance | Actively maintained 23 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 12,014,706 / month, #1,348 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software DevelopmentTopic :: Software Development :: Libraries |
Evidence: launchdarkly_eventsource-1.7.2-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 › “real-time event consumption”
- launchdarkly-eventsourceConsumes Server-Sent Events (SSE) from remote APIs with synchronous…
- httpx-sseConsume Server-Sent Event (SSE) messages from HTTP endpoints using…
- openmeterOpenMeter Python SDK provides a client library to ingest usage events…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also aiohttp-sse-client · requests-sse · sseclient · httpx-sse · sse-starlette · launchdarkly-server-sdk · cloudcruise · aiohttp-sse · aiohttp-sse-client2 · eventsourcing