python-glanceclient
OpenStack Image API Client Library
What it is and what it does
python-glanceclient is the official Python client for OpenStack's Glance image service. It provides both a Python module (glanceclient) and a command-line tool (glance) for managing virtual machine images in an OpenStack cloud. The library handles authentication via keystoneauth1, makes HTTP requests through requests, and formats output using PrettyTable. It fully supports the v1 Images API and has ongoing v2 support.
This is a production-stable tool (Development Status 5) maintained by the OpenStack community. It's designed for system administrators and IT professionals integrating image management into OpenStack deployments or automation scripts. The package supports Python 3.10, 3.11, and 3.12 on Linux systems and depends on standard OpenStack and utility libraries.
Use it for:
- Upload, download, and manage virtual machine images in an OpenStack Glance service from Python scripts
- Automate image lifecycle operations (create, delete, update metadata) in infrastructure-as-code workflows
- Query and list available images with filtering and sorting from command-line or programmatically
- Integrate image management into OpenStack orchestration or deployment automation tools
- Retrieve image metadata and properties for compliance, auditing, or inventory management
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library and command-line tool for the OpenStack Images API, providing programmatic access to Glance image management with full v1 API support and in-progress v2 support.
Yes, if you are working with OpenStack infrastructure. This is the official, actively maintained client library for Glance image management. Install friction is low, dependencies are standard OpenStack libraries, and there are no known vulnerabilities. Suitable for production use in OpenStack environments.
Install
python-glanceclient on PyPI
pip
pip install python-glanceclientuv
uv add python-glanceclientpoetry
poetry add python-glanceclientInstalling python-glanceclient
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with a release within the last 87 days. Depends on standard OpenStack libraries (keystoneauth1, requests) and common utilities (PrettyTable, oslo.utils, oslo.i18n), all of which are well-established.
License in practice
Licensed under Apache License 2.0 (permissive). Safe for commercial and proprietary use with standard attribution requirements.
Quickstart
pip install python-glanceclient
from glanceclient import client
glance = client.Client('2', endpoint='http://glance.example.com', token='your-token')
Requires Python 3.10 or later. Needs a running OpenStack Glance service endpoint and valid authentication credentials.
Verify before relying
- Whether v2 API support is production-ready or still experimental (description says 'in progress')
- Specific features or operations that differ between v1 and v2 API implementations
Package facts
| License | Apache License, Version 2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 9 — pbr, PrettyTable, keystoneauth1, requests, warlock, oslo.utils, oslo.i18n, wrapt, pyOpenSSL |
| Maintenance | actively maintained — 87 days since the last release |
| First released | |
| Downloads | 375,373/month — #7,139 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: python_glanceclient-4.12.0-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
glance-storeGlance Store Library provides backend storage…
permissive · top 15,000 on PyPI
python-novaclientPython bindings to the OpenStack Compute API,…
permissive · top 15,000 on PyPI
python-heatclientPython 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-troveclientPython client library and command-line tool for…
permissive · top 15,000 on PyPI
python-zaqarclientPython client library for the OpenStack Zaqar…
permissive · top 15,000 on PyPI
python-designateclientPython 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-mistralclientPython client library and command-line…
permissive · top 15,000 on PyPI
python-keystoneclientPython client library for authenticating with…
permissive · top 5,000 on PyPI