python-openstackclient
OpenStack Command-line Client
What it is and what it does
OpenStackClient is a command-line interface that unifies management of OpenStack cloud services—compute instances, identity, images, networking, object storage, and block storage—under a single command structure and vocabulary. Instead of learning separate CLI tools for each service, operators use a consistent command grammar (e.g., `openstack server create`, `openstack network list`) to interact with all APIs. It wraps the openstacksdk library and uses cliff for command scaffolding and stevedore for plugin discovery, allowing third-party service clients to register additional commands.
The client supports multiple authentication flows—username/password, federated identity with OIDC, and others—configured through clouds.yaml files, environment variables, or command-line flags. It is actively maintained, supports current Python versions (3.11–3.14), and carries no known security vulnerabilities. It is primarily used by cloud operators, system administrators, and automation engineers who need a single entry point to manage OpenStack infrastructure at scale.
Use it for:
- Provision and manage compute instances, networks, and storage volumes across an OpenStack cloud from a single shell.
- Automate infrastructure deployment and teardown in CI/CD pipelines using consistent, scriptable commands.
- Query and monitor cloud resources (servers, images, networks, quotas) without switching between multiple CLI tools.
- Integrate OpenStack operations into shell scripts and orchestration workflows with a uniform command interface.
- Support federated authentication and multi-cloud identity management through configurable auth plugins.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A unified command-line client for OpenStack cloud infrastructure that consolidates Compute, Identity, Image, Network, Object Store, and Block Storage APIs into a single shell with consistent command syntax.
Yes. This is the canonical OpenStack CLI, actively maintained with no security vulnerabilities, low install friction, and permissive licensing. Install it if you operate or automate OpenStack infrastructure. The only real prerequisite is Python 3.11+ and valid cloud credentials; if you lack either, defer installation until those are in place.
Install
python-openstackclient on PyPI
pip
pip install python-openstackclientuv
uv add python-openstackclientpoetry
poetry add python-openstackclientInstalling python-openstackclient
Before you install
Low friction install with a pure Python wheel. Actively maintained with a release within the last 30 days. Requires Python 3.11 or later and pulls in 10 runtime dependencies including openstacksdk, keystoneclient, and cliff for CLI scaffolding.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary deployments.
Quickstart
pip install python-openstackclient
openstack --help
openstack server list
Requires Python 3.11 or later. Authentication credentials must be configured via clouds.yaml, environment variables (OS_* prefix), or command-line flags before commands will execute.
Verify before relying
- Whether the package's plugin architecture and stevedore integration enable seamless addition of third-party service clients beyond those bundled.
- Performance characteristics and latency profiles when managing large-scale cloud deployments with hundreds or thousands of resources.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 10 — cryptography, cliff, iso8601, openstacksdk, osc-lib, oslo.i18n, python-keystoneclient, python-manilaclient, requests, stevedore |
| Maintenance | actively maintained — 30 days since the last release |
| First released | |
| Downloads | 823,091/month — #4,970 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: python_openstackclient-10.2.1-py3-none-any.whl
Tags
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
psutilpsutil retrieves real-time information about…
permissive · top 1,000 on PyPI
pyOpenSSLpyOpenSSL wraps OpenSSL's SSL/TLS functionality…
permissive · top 1,000 on PyPI
uvloopuvloop is a drop-in replacement for Python's…
permissive · top 1,000 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
pyzmqPyZMQ provides Python bindings for ZeroMQ…
permissive · top 1,000 on PyPI
openstacksdkopenstacksdk is a client library for…
permissive · top 5,000 on PyPI
osc-placementProvides a command-line interface to the…
permissive · top 15,000 on PyPI
python-octaviaclientpython-octaviaclient is an OpenStack Client…
permissive · top 15,000 on PyPI
python-zaqarclientPython client library for the OpenStack Zaqar…
permissive · top 15,000 on PyPI
osc-libosc-lib provides a shared library of common…
permissive · top 5,000 on PyPI
python-ironicclientPython client library and CLI for the OpenStack…
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
apache-libcloudAbstracts differences between cloud provider…
permissive · top 5,000 on PyPI
keystoneauth1Provides authentication plugins, API discovery,…
permissive · top 5,000 on PyPI