Registry / communication / python-zaqarclient

python-zaqarclient

JSON →
library4.4.0pypypi✓ verified 30d ago

python-zaqarclient is the official client library for the OpenStack Zaqar Messaging API (queuing and notification service). The current version is 4.4.0, requiring Python >=3.10. This library implements version 2 of the Zaqar API. Release cadence follows OpenStack coordinated releases.

communicationhttp-networkingaws
Install & Compatibility
Where this runs
tested against v4.5.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 111.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 10.9s · import 0.000s · 112MB
119MB installed
● package 119MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

from zaqarclient import version

Connects to a Zaqar endpoint using OpenStack password authentication and creates a queue.

import os from zaqarclient.client import ZaqarClient # Configuration for authentication conf = { 'auth_opts': { 'options': { 'os_auth_url': os.environ.get('OS_AUTH_URL', ''), 'os_username': os.environ.get('OS_USERNAME', ''), 'os_password': os.environ.get('OS_PASSWORD', ''), 'os_project_name': os.environ.get('OS_PROJECT_NAME', ''), }, 'auth_plugin': 'password', }, } # Connect to Zaqar endpoint zaqar_endpoint = os.environ.get('ZAQAR_ENDPOINT', '') client = ZaqarClient(zaqar_endpoint, version=2, conf=conf) # Create a queue queue = client.queue('example-queue', auto_create=True) print(f"Queue created: {queue.name}")
zaqar --version
Debug
Known footguns
gotchaThe client automatically uses version 1 of the API if the 'version' parameter is not specified. Always explicitly set version=2 to use the current API.
deprecatedThe 'claims' API and 'subscriptions' API are deprecated and will be removed in a future release. Use the equivalents from Zaqar 2.0 API (e.g., queue.subscriptions() instead of client.subscriptions()).
breakingPython 3.10 or newer is required. The library no longer supports Python 2.7 or Python 3.6.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
27 hits · last 30 days
gptbot
4
amazonbot
4
bytedance
4
ahrefsbot
3
claudebot
2
script
1
bingbot
1
Resources