8104ff488b
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 |
||
---|---|---|
doc | ||
examples | ||
tests | ||
zaqarclient | ||
.gitignore | ||
.gitreview | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Python Zaqar Client
- version
-
0.1.0
- Wiki
- Launchpad
- Review
- Design
- 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.
- License: Apache License, Version 2.0
- Source: http://git.openstack.org/cgit/openstack/python-zaqarclient
- Bugs: http://bugs.launchpad.net/python-zaqarclient