Skip to main content

Mistral Client Library

Project description

Python client for Mistral REST API. Includes python library for Mistral API and Command Line Interface (CLI) library.

Installation

First of all, clone the repo and go to the repo directory:

git clone git://git.openstack.org/openstack/python-mistralclient.git cd python-mistralclient

Then just run:

pip install -e .

or

python setup.py install

Running Mistral client

If Mistral authentication is enabled, provide the information about OpenStack auth to environment variables. Type:

export OS_AUTH_URL=http://<Keystone_host>:5000/v2.0 export OS_USERNAME=admin export OS_TENANT_NAME=tenant export OS_PASSWORD=secret export OS_MISTRAL_URL=http://<Mistral host>:8989/v2 (optional, by default URL=http://localhost:8989/v2)

and in the case that you are authenticating against keystone over https:

export OS_CACERT=<path_to_ca_cert>

>***Note:** In client, we can use both Keystone auth versions - v2.0 and v3. But server supports only v3.*

To make sure Mistral client works, type:

mistral workbook-list

You can see the list of available commands typing:

mistral –help

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-mistralclient-1.1.0.tar.gz (76.4 kB view details)

Uploaded Source

Built Distribution

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

python_mistralclient-1.1.0-py2-none-any.whl (109.4 kB view details)

Uploaded Python 2

File details

Details for the file python-mistralclient-1.1.0.tar.gz.

File metadata

File hashes

Hashes for python-mistralclient-1.1.0.tar.gz
Algorithm Hash digest
SHA256 28c4a935bf5b3e2d60498934cb018419109a0ea6a1ed9c03ea6a658a0bf53522
MD5 6e239fb75e3f7c573a5ac31b18a9688f
BLAKE2b-256 e29180333d2a1d1cd7b77efb153362715b047f92011ced0253410322af652cc6

See more details on using hashes here.

File details

Details for the file python_mistralclient-1.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for python_mistralclient-1.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 c056513bc6af881ca2fe70583997ea356b7c644045e4da5d996263283800989c
MD5 188ae8aa10bfcc1abe96d9010a556e5c
BLAKE2b-256 4418ebf95543766bae9a300bcece02556a40d39ff222d162d7f7ac68b06140d0

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