skillfed

python-mistralclient

Mistral Client Library

python-mistralclient v6.2.0 103.3K downloads/30d#12,818 on PyPI
Permissive license Apache Software License Active released

What it is and what it does

Python-mistralclient is the official Python client for OpenStack Mistral, a workflow orchestration service. It provides both a programmatic library and a command-line interface (CLI) for interacting with Mistral's REST API. Mistral itself manages complex business processes by accepting workflow definitions (sets of tasks and their transitions) and handling state management, execution order, parallelism, synchronization, and high availability. This client lets you upload workflows, manage workbooks, list and monitor executions, and trigger scheduled task runs from Python code or the shell.

The package integrates with OpenStack's authentication stack (keystoneauth1) and uses standard OpenStack libraries for configuration and serialization. It's designed for operators and developers working with OpenStack infrastructure who need to programmatically define, deploy, and monitor multi-step workflows in a distributed environment. The CLI is the primary user-facing interface, though the underlying library can be imported for automation.

Use it for:

  • Automate multi-step business processes in OpenStack environments by uploading and managing workflow definitions via Python
  • Monitor and list running workflow executions and their status from the command line or scripts
  • Schedule recurring tasks (e.g., every Sunday at 4pm) by defining workflows with Mistral's scheduling capabilities
  • Integrate workflow orchestration into CI/CD pipelines or infrastructure automation tools
  • Query and manage workbooks and task definitions programmatically from custom Python applications

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python client library and command-line interface for the Mistral workflow service REST API, enabling programmatic and CLI-based interaction with Mistral workflow management.

Yes, if you are working with OpenStack Mistral and need Python integration. The package is actively maintained, has low install friction, carries no licensing restrictions, and is the official client for Mistral's REST API. Install only if you have a Mistral server running and need to interact with it programmatically or via CLI; it is not useful standalone.

Install

python-mistralclient on PyPI

pip

pip install python-mistralclient

uv

uv add python-mistralclient

poetry

poetry add python-mistralclient

Installing python-mistralclient

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release (171 days ago). Depends on 10 runtime packages including OpenStack ecosystem libraries (keystoneauth1, oslo.*, osc-lib) and common utilities (requests, PyYAML, cliff); these are standard OpenStack dependencies with established maintenance.

License in practice

Licensed under Apache Software License (permissive). No licensing restrictions on use, modification, or distribution in commercial or private projects.

Quickstart

pip install python-mistralclient

from mistralclient.v2 import client

mistral = client.Client(mistral_url='http://localhost:8989/v2')
workbooks = mistral.workbooks.list()

Requires Python 3.10 or later. Mistral server must be running and accessible at the configured URL; OpenStack authentication credentials (OS_AUTH_URL, OS_USERNAME, OS_PASSWORD, OS_TENANT_NAME) are required if Mistral authentication is enabled.

Verify before relying

  • Whether the package works with Mistral server versions other than v2 API
  • Performance characteristics when managing large numbers of workflows or tasks
  • Compatibility with non-OpenStack Mistral deployments

Package facts

License Apache Software License (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 10 — cliff, osc-lib, oslo.utils, oslo.i18n, oslo.serialization, pbr, keystoneauth1, PyYAML, requests, stevedore
Maintenance actively maintained — 171 days since the last release
First released
Downloads 103,263/month — #12,818 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: python_mistralclient-6.2.0-py3-none-any.whl

Environment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPython

Tags

mistral workflow clientopenstack mistral pythonworkflow orchestration clientmistral rest api pythonmistral cli toolworkflow task managementmistral command line
openstackworkflow-orchestrationcli

More Distributed Computing packages

grpcio

gRPC Python is an HTTP/2-based RPC framework…

permissive · top 100 on PyPI

execnet

execnet lets you spawn and communicate with…

permissive · top 1,000 on PyPI

cloudpickle

Cloudpickle extends Python's standard pickle…

permissive · top 1,000 on PyPI

smart-open

Provides a unified, open()-compatible Python…

permissive · top 1,000 on PyPI

portalocker

Portalocker provides cross-platform file…

permissive · top 1,000 on PyPI

ray

Ray is a distributed computing framework that…

permissive · top 1,000 on PyPI

python-heatclient

Python client library and command-line tool for…

permissive · top 15,000 on PyPI

taskflow

TaskFlow is a library for defining and…

permissive · top 15,000 on PyPI

python-glanceclient

Python client library and command-line tool for…

permissive · top 15,000 on PyPI

python-designateclient

Python client library and command-line tool for…

permissive · top 15,000 on PyPI

python-novaclient

Python bindings to the OpenStack Compute API,…

permissive · top 15,000 on PyPI

python-troveclient

Python client library and command-line tool for…

permissive · top 15,000 on PyPI

python-cinderclient

Python bindings and command-line interface to…

permissive · top 15,000 on PyPI

osc-placement

Provides a command-line interface to the…

permissive · top 15,000 on PyPI

python-octaviaclient

python-octaviaclient is an OpenStack Client…

permissive · top 15,000 on PyPI

f5-icontrol-rest

A REST API client library for interacting with…

permissive · top 15,000 on PyPI