Skip to main content

Mistral

https://governance.openstack.org/tc/badges/python-mistralclient.svg Latest Version

Mistral is a workflow service. Most business processes consist of multiple distinct interconnected steps that need to be executed in a particular order in a distributed environment. A user can describe such a process as a set of tasks and their transitions. After that, it is possible to upload such a description to Mistral, which will take care of state management, correct execution order, parallelism, synchronization and high availability.

Mistral also provides flexible task scheduling so that it can run a process according to a specified schedule (for example, every Sunday at 4.00pm) instead of running it immediately. In Mistral terminology such a set of tasks and relations between them is called a workflow.

Mistral client

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://opendev.org/openstack/python-mistralclient.git
$ cd python-mistralclient

Then just run:

$ pip install -e .

or:

$ pip install -r requirements.txt
$ 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>

To make sure Mistral client works, type:

$ mistral workbook-list

You can see the list of available commands typing:

$ mistral --help

Metadata

Release files for python-mistralclient 6.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-mistralclient 6.4.0
File Size Uploaded Provenance Actions
python_mistralclient-6.4.0.tar.gz 109.7 kB Without provenance Details for python_mistralclient-6.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-mistralclient 6.4.0
File Interpreter ABI Platform Actions
python_mistralclient-6.4.0-py3-none-any.whl Python 3 none any Details for python_mistralclient-6.4.0-py3-none-any.whl

Total release size: 252.3 kB

Release files / python_mistralclient-6.4.0.tar.gz

Download URL python_mistralclient-6.4.0.tar.gz
Size 109.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cca5cd88ddefdaf1375a62049150d96a4841171a2c5fa306ed8b3f3544ddc107
BLAKE2b-256 checksum
How to use checksums
10025efe79e6be2180bb1a9d343db1f5000bc92caae35ca46bb36b2394a3e80a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / python_mistralclient-6.4.0-py3-none-any.whl

Download URL python_mistralclient-6.4.0-py3-none-any.whl
Size 142.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
462c6cb8992106c01b25d5f1ff0305298c7661208652dfb0c10d02006a23dc90
BLAKE2b-256 checksum
How to use checksums
2b9b372604034df3a769f0cb92b19436186c3817178bf071b84ba6c2b4088d4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for python-mistralclient 6.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

6.4.0 This release

2 release files No provenance

0.3.0

0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page