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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ff6a35c99dc0e15970d4210a8537142458252fdb85adeb0c9b12fac30570f39
|
|
| MD5 |
ab2900aff565a47f9b9e1775ed6a105d
|
|
| BLAKE2b-256 |
f71575a6915c0c6b89d36225f0d2038038755c8def3194a9647cdf4992a5779f
|
Provenance
The following attestation bundles were made for xyberos_queues-0.1.0.tar.gz:
Publisher:
pypi-plugins.yml on xyberos/xyberos-plugins
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xyberos_queues-0.1.0.tar.gz -
Subject digest:
4ff6a35c99dc0e15970d4210a8537142458252fdb85adeb0c9b12fac30570f39 - Sigstore transparency entry: 2495252891
- Sigstore integration time:
-
Permalink:
xyberos/xyberos-plugins@cd98ad6193005275396bb763df8de0468830de4a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/xyberos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-plugins.yml@cd98ad6193005275396bb763df8de0468830de4a -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e670fbfa9e4421981e4d1854293b51f1e9955918efc216ee2d8b909b2c8ea017
|
|
| MD5 |
c5fd4cf1dad5c46a9bfd9d556c3174f5
|
|
| BLAKE2b-256 |
7213f0a4fa67438fa96d11194e2bb084c0c770b84d634ee9d2c920f465850bf3
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xyberos_queues-0.1.0-py3-none-any.whl -
Subject digest:
e670fbfa9e4421981e4d1854293b51f1e9955918efc216ee2d8b909b2c8ea017 - Sigstore transparency entry: 2495252914
- Sigstore integration time:
-
Permalink:
xyberos/xyberos-plugins@cd98ad6193005275396bb763df8de0468830de4a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/xyberos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-plugins.yml@cd98ad6193005275396bb763df8de0468830de4a -
Trigger Event:
workflow_dispatch
-
Statement type: