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 https://github.com/stackforge/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.0.1.tar.gz (74.9 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.0.1-py2-none-any.whl (105.1 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for python-mistralclient-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6ba1d1a9bb119385e17140263c747456b046db20e4969e20194db7a69f3d7e39
MD5 cccada5b79a40ee7881055dc36858fe1
BLAKE2b-256 fe7a464fd8388cbb8932b7b079a56e3a1b64c831350d6c6d07198eca20723238

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_mistralclient-1.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 2db2d30ee582b2629ad396a4013647db1854e1ad1e2206f6121d11072af02741
MD5 bdb623493735f8a99d59fabc1d5ba4ff
BLAKE2b-256 077739565f29114364cdd31f3cfa87028922edffd8032c0c72d645a68cad8b4d

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