Registry / aws / python-mistralclient

python-mistralclient

JSON →
library6.2.0pypypi✓ verified 86d ago

A Python client for OpenStack Mistral workflow service. Version 6.2.0, actively maintained. Releases follow OpenStack releases.

pip install python-mistralclient
INSTALL
IMPORT
SIG · PYTHON-MISTRALCLIE
P
python-mistralclient
awspythonv6.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

client
from mistralclient.api import client
import mistralclient
Direct import of mistralclient gives no useful symbols; must use the subpackage.
MistralClient
from mistralclient.api.client import MistralClient

Initialize the client and list workflows. Adjust auth parameters per your OpenStack setup.

from mistralclient.api import client mistral = client.client(mistral_url='http://localhost:8989/v2', username='admin', password='pass', project_name='admin', auth_url='http://localhost:5000/v3') workflows = mistral.workflows.list() print(workflows)
mistral --version
Debug
Known issues
breakingFrom version 4.0.0, the authentication interface changed. The old `client.client(...)` no longer accepts positional arguments for auth parameters; all must be passed as keyword arguments.
fix
Always use keyword arguments when creating the client: `client.client(mistral_url=..., username=...)`.
affects: >=4.0.0
gotchaThe `client.client()` factory function returns an instance of `MistralClient`, but the class is also importable directly. However, using the factory is recommended because it handles version discovery and auth setup.
fix
Use `from mistralclient.api import client` and then `c = client.client(...)`.
affects: all
deprecatedSupport for Python 2.7 was dropped in version 4.0.0. Also, Python 3.6 support ended in 5.0.0.
fix
Use Python 3.10 or newer (as of 6.2.0).
affects: >=4.0.0
Errors
Common errors & fixes
mistralclient.api.client module not found
Installed older version (<2.0) where package structure was different.
fix
Upgrade to latest version: `pip install --upgrade python-mistralclient`
AttributeError: module 'mistralclient' has no attribute 'api'
Trying to import mistralclient directly instead of mistralclient.api.
fix
Use `from mistralclient.api import client`
Upgrade
Version history
6.2.0latest on PyPI · released Feb 24, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
30
OpenAI (training)
1
Resources
python-mistralclient — pip install python-mistralclient · libregistry