openstacksdk
An SDK for building applications to work with OpenStack
Decision gist · record as of 2026-08-14
Yes. openstacksdk is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. Install it if you need to interact with OpenStack clouds from Python. The layered API design means you can start with simple cloud operations and drop down to service-specific or raw HTTP calls when needed. The only gotcha is the Python 3.11 or later requirement and the need for proper cloud configuration.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later.
- Needs a clouds.yaml configuration file or environment variables to authenticate with an OpenStack cloud.
- Low install friction with a pure-Python wheel distribution.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
last release 2026-08-03 (11 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,542,262 downloads/mo, #3,784 on PyPI
Alternatives
Verify before relying
pip install openstacksdk
import openstacksdk
conn = openstacksdk.connect(cloud='mordred')
for server in conn.list_servers():
print(server.to_dict())- Whether all supported OpenStack services have complete API coverage or only partial support.
- Performance characteristics and scalability limits for large-scale cloud operations.
- Compatibility with specific OpenStack versions or distributions beyond the general OpenStack ecosystem.
What it is and what it does
openstacksdk is a Python client library designed to simplify interactions with OpenStack clouds. It provides a multi-layered architecture: a high-level cloud abstraction layer for common operations, a service-specific proxy layer for detailed control, a resource layer for CRUD operations, and a raw HTTP layer for unsupported APIs. The library handles authentication via clouds.yaml files or environment variables and aims to work consistently across different OpenStack deployments regardless of their configuration.
Developers use openstacksdk to automate cloud infrastructure tasks—launching servers, managing images, provisioning storage, and orchestrating networking resources. The abstraction layers let you choose your level of control: write portable applications against the cloud layer, or drop down to service-specific proxies for fine-grained operations. It depends on keystoneauth1 for authentication, cryptography for secure operations, and several utility libraries for configuration and caching.
Use it for
- Automate server provisioning and lifecycle management across OpenStack clouds from a single codebase.
- Build infrastructure-as-code tools that work with any OpenStack deployment without provider-specific logic.
- Manage images, flavors, networks, and block storage volumes programmatically.
- Integrate OpenStack cloud operations into CI/CD pipelines or orchestration frameworks.
- Query and monitor cloud resources across multiple OpenStack regions or projects.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
openstacksdk is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. Install it if you need to interact with OpenStack clouds from Python. The layered API design means you can start with simple cloud operations and drop down to service-specific or raw HTTP calls when needed. The only gotcha is the Python 3.11 or later requirement and the need for proper cloud configuration.
Install
openstacksdk on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release. Depends on 12 runtime packages including cryptography, keystoneauth1, and PyYAML—all well-established libraries.
Requires Python 3.11 or later. Needs a clouds.yaml configuration file or environment variables to authenticate with an OpenStack cloud.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install openstacksdk
import openstacksdk
conn = openstacksdk.connect(cloud='mordred')
for server in conn.list_servers():
print(server.to_dict())
Verify before relying
- Whether all supported OpenStack services have complete API coverage or only partial support.
- Performance characteristics and scalability limits for large-scale cloud operations.
- Compatibility with specific OpenStack versions or distributions beyond the general OpenStack ecosystem.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 12 packagescryptographydecoratordogpile.cacheiso8601jmespathjsonpatchkeystoneauth1os-service-typespbrplatformdirspsutilPyYAML |
| Maintenance | Actively maintained 11 days since the last release |
| First released | |
| Downloads | 1,542,262 / month, #3,784 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: openstacksdk-4.18.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “openstack cloud client library”
- openstacksdkopenstacksdk is a client library for interacting with OpenStack…
- python-swiftclientPython client library for OpenStack Object Storage (Swift) API,…
- python-openstackclientA unified command-line client for OpenStack cloud infrastructure that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also os-client-config · python-openstackclient · cloudbridge · keystoneauth1 · neutron-lib · os-vif · os-ken · python-neutronclient · python-ironicclient · dstack