Mistral
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
Useful Links
PyPi - package installation
Launchpad project - release management
Blueprints - feature specifications
Bugs - issue tracking
Metadata
Release files for python-mistralclient 6.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| python_mistralclient-6.3.0.tar.gz | 107.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_mistralclient-6.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 247.2 kB
Release files / python_mistralclient-6.3.0.tar.gz
| Download URL | python_mistralclient-6.3.0.tar.gz |
|---|---|
| Size | 107.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e12850903fc479794e528447c83f8d983fa677cf0dba25f942c2a2bc9d0d68de
|
|
BLAKE2b-256 checksum How to use checksums |
4be3fa677f40e65eaf027a4942000a71a26faca401039c95ff8c1db967eb638e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / python_mistralclient-6.3.0-py3-none-any.whl
| Download URL | python_mistralclient-6.3.0-py3-none-any.whl |
|---|---|
| Size | 139.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d716e7f32cbdc657974e09e1d8a042a3114b87103cf10c8b902789ae49fbcbf0
|
|
BLAKE2b-256 checksum How to use checksums |
61ff2131945d6f4395f63ad828dde14098dc55ffd55b6cc2571dbaf50a0250f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Security for python-mistralclient 6.3.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.