Skip to main content

Client library for OpenStack Management API

Project description

python-tuskarclient is a Python client and a command-line interface for Tuskar.

Getting Started

Clone the repo:

$ git clone https://github.com/openstack/python-tuskarclient.git

Then, use tox to set up a virtual environment and run tests:

$ cd python-tuskarclient
$ tox

When this is done, activate your virtual environment:

$ source .tox/py27/bin/activate

Finally, use this script to build the wrapper script in your virtual environment for the CLI tools:

$ python setup.py develop

Use from Python

For using python-tuskarclient within a Python application, this wiki page provides the most complete documentation.

Use from the CLI

On the command line, python-tuskarclient implements the tuskar command.

First, be sure to run all of the steps in the Getting Started section, above, and that you have not deactivated your virtual environment.

Then, export these two environment variables, customizing them if necessary:

$ export OS_AUTH_TOKEN=nopass
$ export TUSKAR_URL=http://localhost:8585/

(Note that ‘nopass’ is the correct value in a default setup with no authentication.)

Now you may interact with Tuskar by using the tuskar command. tuskar --help with list full usage details. You can use tuskar rack-list as an example.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-tuskarclient-0.1.14.tar.gz (81.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_tuskarclient-0.1.14-py2-none-any.whl (87.6 kB view details)

Uploaded Python 2

File details

Details for the file python-tuskarclient-0.1.14.tar.gz.

File metadata

File hashes

Hashes for python-tuskarclient-0.1.14.tar.gz
Algorithm Hash digest
SHA256 d08ef63220635be43ae15a77cee34ab9206dcf9036b1a2ea8a1a636f323ceaf5
MD5 fce4d1102fed30af3b804c5be8a7a7bb
BLAKE2b-256 9408fc981a4da9efbf1fbae897e26b01d92416969a5cf3ae0887792941f2bd45

See more details on using hashes here.

File details

Details for the file python_tuskarclient-0.1.14-py2-none-any.whl.

File metadata

File hashes

Hashes for python_tuskarclient-0.1.14-py2-none-any.whl
Algorithm Hash digest
SHA256 54d8b6a554c00428c434d04c2ab45a274eb77569e979d7434f8f564d498210ba
MD5 9786b8631b21e13d3c0b9a997a893c95
BLAKE2b-256 f4348cc7885b33c7e296409dcb0bc2d3ac040687582659292ec8046ef0b51fdd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page