Skip to main content

xyberos-queues

Message queue plugin — RFC-0019, M9. Redis Streams, RabbitMQ, and Kafka behind one MessageQueue contract (publish / poll).

Install

pip install -e ./queues
pip install xyberos-queues[redis]      # optional drivers
pip install xyberos-queues[rabbitmq]
pip install xyberos-queues[kafka]

Usage

from xyberos import create_app
from xyberos_queues import QueuesPlugin

app = create_app()
app.load_plugin(QueuesPlugin(provider="redis"))     # or QUEUE_PROVIDER

app.tools.execute("queue_publish", None, topic="jobs", message="do work")
app.tools.execute("queue_poll", None, topic="jobs")     # -> "do work"
Provider Config
redis Redis Streams (URL via REDIS_URL)
rabbitmq host/port (default localhost:5672)
kafka bootstrap_servers (default localhost:9092)

poll drains one message (oldest first) per call; returns None when empty.

Tests

pip install pytest fakeredis
pytest tests/

fakeredis + fake clients — no live brokers.

Ship location

Plugin (xyberos.plugins entry point) — infrastructure queues (M9).

Download files

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

Source Distribution

xyberos_queues-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

xyberos_queues-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xyberos_queues-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xyberos_queues-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4ff6a35c99dc0e15970d4210a8537142458252fdb85adeb0c9b12fac30570f39
MD5 ab2900aff565a47f9b9e1775ed6a105d
BLAKE2b-256 f71575a6915c0c6b89d36225f0d2038038755c8def3194a9647cdf4992a5779f

See more details on using hashes here.

Provenance

The following attestation bundles were made for xyberos_queues-0.1.0.tar.gz:

Publisher: pypi-plugins.yml on xyberos/xyberos-plugins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: xyberos_queues-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xyberos_queues-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e670fbfa9e4421981e4d1854293b51f1e9955918efc216ee2d8b909b2c8ea017
MD5 c5fd4cf1dad5c46a9bfd9d556c3174f5
BLAKE2b-256 7213f0a4fa67438fa96d11194e2bb084c0c770b84d634ee9d2c920f465850bf3

See more details on using hashes here.

Provenance

The following attestation bundles were made for xyberos_queues-0.1.0-py3-none-any.whl:

Publisher: pypi-plugins.yml on xyberos/xyberos-plugins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page