encode/broadcaster
Broadcast channels for async web apps. 📢 observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 15
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2388
- days_rel: n/a
- days_push: 511
- n_releases_24m: 0
Adoption not part of the score
1268 stars · 127 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python library providing a simple async broadcast/publish-subscribe API over multiple backends including Redis PUB/SUB, Redis Streams, Kafka, Postgres LISTEN/NOTIFY, and an in-memory backend. It is commonly used to add realtime streaming to async web apps, such as WebSocket chat applications.
Use cases
- add realtime pub/sub messaging to an async python web app
- broadcast websocket chat messages across multiple server instances
- subscribe and publish to redis pub/sub from asyncio
- use postgres listen/notify for event broadcasting
- stream events to connected clients via websockets
- swap messaging backends behind a single broadcast API
When to choose
- you need a simple unified pub/sub abstraction over Redis, Kafka, or Postgres in an async Python app
- you are building realtime features with Starlette/FastAPI websockets
- you want an in-memory backend for local development and testing
When to avoid
- you need full-featured message queue semantics like acknowledgments, retries, or dead-letter queues
- you are not using an async Python stack
- you need guaranteed message delivery or persistence beyond what Redis Streams offers
Facets
library · maturity active
message-queue websocket middleware web-development backend python cross-platform pubsub asyncio redis kafka postgres-listen-notify realtime starlette real-time messaging
2 sources
- readme: https://github.com/encode/broadcaster · fetched 2026-08-28 · 60c25f59225f
- registry_pypi: https://pypi.org/pypi/broadcaster/json · fetched 2026-08-29 · 3ceb777cbd2d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| encode/broadcaster | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="encode/broadcaster")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem