skillfed

python-glanceclient

OpenStack Image API Client Library

python-glanceclient v4.12.0 375.4K downloads/30d#7,139 on PyPI
Permissive license Apache License, Version 2.0 Active released

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-glanceclient

uv

uv add python-glanceclient

poetry

poetry add python-glanceclient

Installing 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

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: Implementation :: CPython

Tags

openstack glance clientopenstack images api pythonglance image management clientopenstack image service clientpython glance api bindingsopenstack image upload downloadglance command line tool
openstackcloud-infrastructureimage-management

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

glance-store

Glance Store Library provides backend storage…

permissive · top 15,000 on PyPI

python-novaclient

Python bindings to the OpenStack Compute API,…

permissive · top 15,000 on PyPI

python-heatclient

Python client library and command-line tool for…

permissive · top 15,000 on PyPI

python-neutronclient

Python bindings and client library for the…

permissive · top 15,000 on PyPI

python-troveclient

Python client library and command-line tool for…

permissive · top 15,000 on PyPI

python-zaqarclient

Python client library for the OpenStack Zaqar…

permissive · top 15,000 on PyPI

python-designateclient

Python client library and command-line tool for…

permissive · top 15,000 on PyPI

python-swiftclient

Python client library for OpenStack Object…

permissive · top 15,000 on PyPI

python-mistralclient

Python client library and command-line…

permissive · top 15,000 on PyPI

python-keystoneclient

Python client library for authenticating with…

permissive · top 5,000 on PyPI