Skip to main content

qrusty_pyclient

A Python client wrapper for the qrusty API.

Features

  • Connect to a qrusty server
  • Publish, consume, ack, and purge messages
  • List and manage queues

Installation

pip install qrusty_pyclient

Usage

from qrusty_pyclient import QrustyClient

client = QrustyClient(base_url="http://localhost:6784")
client.create_queue(name="orders", ordering="MaxFirst", allow_duplicates=True)
client.publish(queue="orders", priority=100, payload={"order_id": 123})

# Text priorities are also supported for queues with priority_kind="Text"
client.create_queue(name="tags", ordering="MinFirst", priority_kind="Text")
client.publish(queue="tags", priority="alpha", payload={"tag": "first"})
message = client.consume(queue="orders", consumer_id="worker-1")
if message is not None:
    client.ack(queue="orders", message_id=message["id"], consumer_id="worker-1")

Development

Don't forget your ~/.pypirc file if you intend to publish to PyPI.

License

MIT

Metadata

Release files for qrusty-pyclient 0.25.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qrusty-pyclient 0.25.0
File Size Uploaded Provenance
qrusty_pyclient-0.25.0.tar.gz 6.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for qrusty-pyclient 0.25.0
File Interpreter ABI Platform
qrusty_pyclient-0.25.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / qrusty_pyclient-0.25.0.tar.gz

Download URL qrusty_pyclient-0.25.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8fcdd82e15757df8d2df7dd38d6044ca164fd8bb4dc3edae537aa087c7831171
BLAKE2b-256 checksum
How to use checksums
99be82dbcbec811e87f0b1d6dd28b41678a0259f330af9750e19974ee210e4c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / qrusty_pyclient-0.25.0-py3-none-any.whl

Download URL qrusty_pyclient-0.25.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90c1973f4dbbf08d21736cfcb2b7c26532aa6eb8c4d4cc2f494f216f927e2c65
BLAKE2b-256 checksum
How to use checksums
48c3ddc5c89edd261410df20f95e4a7785be351f1578dfa2ac9805fcf7bac8de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for qrusty-pyclient 0.25.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.25.0 This release

2 release files No provenance

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