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.16.tar.gz (72.7 kB view details)

Uploaded Source

Built Distribution

python_tuskarclient-0.1.16-py2-none-any.whl (69.2 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for python-tuskarclient-0.1.16.tar.gz
Algorithm Hash digest
SHA256 bd5bc3302fb6327e6430ddad511bc25465fd1b5b346e020b692db54ed54777c2
MD5 cd001ff570516ac01700a84546abee26
BLAKE2b-256 87bb475e0711d75898859291fea7c704630fa953aa6f9cc13bb24c362a84e6fd

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for python_tuskarclient-0.1.16-py2-none-any.whl
Algorithm Hash digest
SHA256 8401c065b966c16b33ba68672afedf7a995ac0328b6df74e23edaef8226a72bc
MD5 3c5e2145a7b0f1fd69ecadd7d848f490
BLAKE2b-256 693d6cf67762c2c81b0b7fb8ef1458ea8aa01949d36dc0b406248c00b0e99fda

See more details on using hashes here.

Provenance

Supported by

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