Metadata-Version: 2.3
Name: phoenix-pubsub
Version: 0.1.0
Summary: A topic-based publish-subscribe system for asyncio applications, inspired by Phoenix's PubSub
Author: Ryzh
Author-email: Ryzh <gooddmitriy@mail.ru>
Requires-Python: >=3.13
Project-URL: Homepage, https://github.com/0riginaln0/phoenix-pubsub
Project-URL: Source, https://github.com/0riginaln0/phoenix-pubsub
Description-Content-Type: text/markdown

# phoenix-pubsub

A topic-based publish‑subscribe system for `asyncio` applications, inspired by the [Phoenix PubSub](https://hexdocs.pm/phoenix_pubsub/Phoenix.PubSub.html) library from the Elixir Phoenix framework.

## Features

- Subscribe to one or more topics
- Broadcast messages to all subscribers of a topic
- Broadcast messages while excluding the publisher itself
- Graceful handling of slow consumers (messages are dropped when a subscriber’s queue is full)

## Installation

```bash
pip install phoenix-pubsub
uv add phoenix-pubsub
```

