broadcaster
Simple broadcast channels.
Decision gist · record as of 2026-08-14
No, not for new projects. The package is abandoned (repo archived, last commit April 2025) and explicitly marked Alpha with an API subject to change. The maintainers recommend pinning strictly to 0.3.0 if you must use it. For realtime messaging, prefer actively maintained alternatives or use backend libraries directly (aioredis, aiokafka, psycopg).AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8+; backend-specific dependencies (redis, psycopg2, kafka-python) must be installed separately for non-memory backends.
- Low install friction; depends only on anyio and typing-extensions.
- However, the package is abandoned (last commit 2025-04-09, repo archived) and in Alpha status, so maintenance is no longer active.
License · maintenance · safety
permissive license (permissive) — Licensed under BSD (permissive), so commercial and private use are unrestricted.
last release 2024-08-01 (743 days) · last repo commit 2025-04-09 · 1,268 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 161,803 downloads/mo, #10,621 on PyPI
Alternatives
Verify before relying
pip install broadcaster
from broadcaster import Broadcast
import anyio
broadcast = Broadcast("memory://")
await broadcast.connect()
await broadcast.publish(channel="test", message="hello")
async with broadcast.subscribe(channel="test") as subscriber:
async for event in subscriber:
print(event.message)- Whether the abandoned status and Alpha classification pose a risk for production use in your project.
- Whether the in-memory backend is suitable for your scale or if a persistent backend is required.
- Current compatibility with modern versions of backend services (Redis, Kafka, PostgreSQL) given the lack of recent maintenance.
What it is and what it does
Broadcaster is an async pub/sub abstraction layer that lets you write realtime messaging code once and swap backends without changing application logic. It supports Redis (both PUB/SUB and Streams), Apache Kafka, PostgreSQL LISTEN/NOTIFY, and a simple in-memory backend for development and testing. The package is built on anyio for async compatibility and is designed to integrate with async web frameworks like Starlette.
The typical use case is adding broadcast channels to async web applications—for example, a WebSocket chat app where messages published to a channel are delivered to all subscribers. You instantiate a Broadcast object with a backend URL, call connect() and disconnect() at app startup and shutdown, then use publish() to send messages and subscribe() as an async context manager to receive them. The abstraction means you can develop locally with the memory backend and deploy with Redis or Kafka by changing a single URL.
Use it for
- WebSocket chat or notification systems where messages from one client need to reach multiple connected clients in real time.
- Local development and testing using the in-memory backend without requiring external services.
- Migrating between pub/sub backends (e.g., from Redis to Kafka) without rewriting application code.
- Broadcasting events across multiple async tasks or coroutines within a single application.
- Building async web applications with Starlette that need pub/sub messaging.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, not for new projects.
The package is abandoned (repo archived, last commit April 2025) and explicitly marked Alpha with an API subject to change. The maintainers recommend pinning strictly to 0.3.0 if you must use it. For realtime messaging, prefer actively maintained alternatives or use backend libraries directly (aioredis, aiokafka, psycopg).
Install
broadcaster on PyPI
Before you install
Low install friction; depends only on anyio and typing-extensions. However, the package is abandoned (last commit 2025-04-09, repo archived) and in Alpha status, so maintenance is no longer active.
Requires Python 3.8+; backend-specific dependencies (redis, psycopg2, kafka-python) must be installed separately for non-memory backends.
License in practice
Licensed under BSD (permissive), so commercial and private use are unrestricted.
Quickstart
pip install broadcaster
from broadcaster import Broadcast
import anyio
broadcast = Broadcast("memory://")
await broadcast.connect()
await broadcast.publish(channel="test", message="hello")
async with broadcast.subscribe(channel="test") as subscriber:
async for event in subscriber:
print(event.message)
Verify before relying
- Whether the abandoned status and Alpha classification pose a risk for production use in your project.
- Whether the in-memory backend is suitable for your scale or if a persistent backend is required.
- Current compatibility with modern versions of backend services (Redis, Kafka, PostgreSQL) given the lack of recent maintenance.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesanyiotyping-extensions |
| Maintenance | Abandoned 743 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 161,803 / month, #10,621 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP |
Evidence: broadcaster-0.3.1-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 › “async broadcast messaging”
- broadcasterBroadcaster provides a simple async broadcast API that abstracts over…
- centPython SDK for communicating with Centrifugo v5 and v6 servers via…
- pynngProvides Python bindings for nng (nanomsg next generation), enabling…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also faststream · realtime · channels-redis · google-cloud-pubsub · gcloud-aio-pubsub · ably · google-cloud-pubsublite · pubnub · azure-messaging-webpubsubservice · faust-streaming