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.
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
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 111.3MB
glibcpy 3.10–3.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
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.