encode/broadcaster
Broadcast channels for async web apps. 📢 observed · 2026-10-13
Health v2 · maintenance only
10/100
- Activity 7
- 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-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2436
- days_rel: n/a
- days_push: 559
- n_releases_24m: 0
Adoption not part of the score
1268 stars · 126 forks observed · 2026-10-13
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-10-13 · 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-10-19T08:05:51.212177+00:00 · Report a problem