python-magnumclient
Client library for Magnum API
What it is and what it does
python-magnumclient is a Python library and CLI tool that wraps the OpenStack Magnum API, which manages container cluster infrastructure. It lets you programmatically provision, configure, and manage container clusters on OpenStack infrastructure. The package provides both a Python module for scripting and a command-line interface (magnum command) for interactive cluster operations.
The client handles authentication via keystoneauth1, serialization via oslo libraries, and integrates with the broader OpenStack SDK ecosystem. It depends on 13 runtime packages including requests for HTTP, cryptography for security operations, and PrettyTable for formatted CLI output. The package supports Python 3.8, 3.9, 3.10, and 3.11 and is actively maintained by the OpenStack community.
Use it for:
- Automate provisioning of container clusters on OpenStack infrastructure via Python scripts
- Manage container cluster lifecycle (create, update, delete) from CI/CD pipelines
- Query and monitor cluster status and node information programmatically
- Integrate container orchestration into larger OpenStack infrastructure-as-code workflows
- Use the magnum CLI tool to interactively manage clusters from the command line
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python bindings and command-line tool for the OpenStack Magnum API, enabling programmatic management of container clusters.
Yes, if you manage container clusters on OpenStack. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. It is the standard client for Magnum API interaction. Install only if you have a Magnum deployment or plan to use OpenStack container services.
Install
python-magnumclient on PyPI
pip
pip install python-magnumclientuv
uv add python-magnumclientpoetry
poetry add python-magnumclientInstalling python-magnumclient
Before you install
Low install friction with a pure-Python wheel. Active maintenance (last release 42 days ago). Depends on 13 runtime packages including core OpenStack libraries (keystoneauth1, openstacksdk, osc-lib) and standard utilities, all of which are well-maintained.
License in practice
Licensed under Apache License, Version 2.0 (permissive). No restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install python-magnumclient
from magnumclient import client
mgm_client = client.Client('1', endpoint='http://magnum-api/v1')
Requires an accessible Magnum API endpoint and valid OpenStack credentials (typically via environment variables or keystone authentication).
Verify before relying
- Specific Magnum API versions supported by this client release
- Whether the package works with non-OpenStack Magnum deployments
- Performance characteristics under high-volume API calls
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 13 — pbr, keystoneauth1, stevedore, requests, oslo.i18n, oslo.log, oslo.serialization, oslo.utils, openstacksdk, osc-lib, PrettyTable, cryptography, decorator |
| Maintenance | actively maintained — 42 days since the last release |
| First released | |
| Downloads | 111,764/month — #12,400 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: python_magnumclient-4.11.0-py3-none-any.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
python-heatclientPython client library and command-line tool for…
permissive · top 15,000 on PyPI
python-swiftclientPython client library for OpenStack Object…
permissive · top 15,000 on PyPI
python-novaclientPython bindings to the OpenStack Compute API,…
permissive · top 15,000 on PyPI
python-troveclientPython client library and command-line tool for…
permissive · top 15,000 on PyPI
python-neutronclientPython bindings and client library for the…
permissive · top 15,000 on PyPI
python-designateclientPython client library and command-line tool for…
permissive · top 15,000 on PyPI
argo-workflowsProvides Python API bindings for Argo…
unclear · top 15,000 on PyPI
kclikcli is a command-line provisioning and…
unclear · top 15,000 on PyPI
assisted-service-clientA Python client library for the OpenShift…
permissive · top 15,000 on PyPI
stackit-objectstorageProvides Python bindings to the STACKIT Object…
permissive · top 15,000 on PyPI