Skip to main content

StackTask API Client Library

Project description

StackTaskClient is a command-line and python client for StackTask.

Getting Started

StackTask Client can be installed from PyPI using pip:

pip install python-openstackclient python-stacktaskclient

The command line client is installed as a plugin for the OpenStack client, and an older deprecated version is available under the entry point ‘stacktask’.

Python API

In order to use the python api directly, you must first obtain an auth token and identify which endpoint you wish to speak to:

>>> stacktask_url = 'http://stacktask.example.org:8004/v1/'
>>> auth_token = '3bcc3d3a03f44e3d8377f9247b0ad155'

Once you have done so, you can use the API like so:

>>> from stacktaskclient.client import Client
>>> stacktask = Client('1', endpoint=stacktask_url, token=auth_token)

An auth token isn’t needed for accessing signup, user.password_forgot(), token.submit() or token.get().

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-stacktaskclient-0.1.6.tar.gz (47.1 kB view details)

Uploaded Source

File details

Details for the file python-stacktaskclient-0.1.6.tar.gz.

File metadata

File hashes

Hashes for python-stacktaskclient-0.1.6.tar.gz
Algorithm Hash digest
SHA256 2623120f053035ec7f08b788b72fdaa6956927c7d9dd7da8c7df7196d3d05c00
MD5 495ca5a8d620221c35a04b6cf133d444
BLAKE2b-256 136548934c137187ac2df5ed756bdb6b7eb6b37acf77aff1af806fc44eec5534

See more details on using hashes here.

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