OpenStack Messaging (Zaqar) Client
Go to file
Flavio Percoco 8104ff488b Don't reuse request and transport instances
Re-using these instances was causing request failures when talking to
`uwsgi`. I still don't know the exact cause - probably something related
to the headers or even cached in the `http.Client` instance - but this
does fix the current issue and it also makes sense to have a new request
object for every request.

Change-Id: I30f78e048eea7105e4cced4530b165ad7a25d914
2015-09-10 14:14:31 +02:00
doc Relese notes for zaqarclient 0.1.1 2015-05-28 09:46:04 +02:00
examples Updated from global requirements 2015-08-27 13:19:58 +02:00
tests Pass group in pool's functional tests 2015-09-09 19:24:46 +02:00
zaqarclient Don't reuse request and transport instances 2015-09-10 14:14:31 +02:00
.gitignore Ignore *.egg files. 2013-07-16 17:59:28 -04:00
.gitreview Fix .gitreview due to the repo rename/move 2014-08-16 21:33:03 +04:00
HACKING.rst Rename Marconi to Zaqar 2014-08-04 16:55:10 +02:00
LICENSE Lets get the party started :) 2013-05-07 17:09:55 +02:00
README.rst Update README to work with release tools 2015-04-21 16:07:46 +00:00
requirements.txt Updated from global requirements 2015-08-27 13:19:58 +02:00
setup.cfg Implement CLI support for flavor 2015-08-26 22:53:09 +05:30
setup.py Updated from global requirements 2015-08-27 13:19:58 +02:00
test-requirements.txt Updated from global requirements 2015-08-27 23:26:17 +00:00
tox.ini Setup developer docs for zaqarclient 2014-10-23 22:27:12 +02:00

Python Zaqar Client

version

0.1.0

Wiki

Zaqar Wiki

Launchpad

Zaqar Launchpad

Review

Code Review

Design

Client Wiki

IRC

#openstack-zaqar @ freenode

Welcome to the Zaqar Python Client project!

Table of Contents

Installation

The latest stable release can be installed from PyPI:

pip install --upgrade python-zaqarclient

For the adventurous, you may also install the latest code directly from GitHub:

pip install git+https://github.com/openstack/python-zaqarclient.git

What's in the box

By installing python-zaqarclient you get programmatic access to the Zaqar v1.0 API library. Plus, it installs a plugin to python-openstackclient that allows you to perform simple queue operations.

How to use

Python client

Details about design, features, usage and workflow can be found in the Python Client Wiki.

Command line interface

Zaqar bases its client implementation in the OpenStack Client. It can be installed and configured by following the instructions in Getting Started and Configuration in the OpenStack Client readme respectively.

The CLI currently allows creation, removal and listing of queues. Some examples are:

$  openstack queue list --limit 3
$  openstack queue create myqueue
$  openstack queue delete myqueue

Contributing

Be sure to reference the HACKING file for details on coding style. You may also wish to read through Zaqar's Contributor Guide before contributing your first patch.