Skip to main content

A topic-based publish-subscribe system for asyncio applications, inspired by Phoenix's PubSub

Project description

phoenix-pubsub

A topic-based publish‑subscribe system for asyncio applications, inspired by the Phoenix PubSub 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

pip install phoenix-pubsub
uv add phoenix-pubsub

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phoenix_pubsub-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phoenix_pubsub-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file phoenix_pubsub-0.1.0.tar.gz.

File metadata

  • Download URL: phoenix_pubsub-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for phoenix_pubsub-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1fe6204157a28d74a4062689e66578f8f0fe11c205fa966bd31db0cb1883b394
MD5 29e844d4a5c8f61b062a2ef3ddd438a6
BLAKE2b-256 7483a804c202d90f65952d98a6bfc6cfd1a8c8cd87bb9f8ef3c2cfed5d7581b4

See more details on using hashes here.

File details

Details for the file phoenix_pubsub-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: phoenix_pubsub-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for phoenix_pubsub-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7e59f2cc61dd27855e0569b257327220bd480922d197ac60480739f26273639
MD5 3e4fb77aa675c216f7a3da12e30d461b
BLAKE2b-256 f059b8663d8c2a7108bb796438c4a820765a52bf855396ff9c3cf81d9fda0923

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page