skillfed

python-ironicclient

OpenStack Bare Metal Provisioning API Client Library

python-ironicclient v6.2.0 171.8K downloads/30d#10,354 on PyPI
Permissive license Apache-2.0 Active released

What it is and what it does

python-ironicclient is the official Python client for OpenStack's Bare Metal API (Ironic), used to manage physical server provisioning and lifecycle. It provides both a Python module (ironicclient) for programmatic access and a command-line interface (openstack baremetal) for interactive management. The package wraps HTTP calls to the Ironic API and handles authentication via keystoneauth1, making it the standard way to interact with bare metal infrastructure in OpenStack environments.

The library is built on OpenStack's ecosystem libraries—cliff for CLI scaffolding, openstacksdk for unified API access, and osc-lib for command standardization. It supports modern Python versions (3.10 through 3.14) and is actively maintained as part of the OpenStack project. Installation can be minimal (core library only) or extended with the [cli] extra to include OpenStackClient integration for full command-line functionality.

Use it for:

  • Provision and manage bare metal nodes programmatically within OpenStack infrastructure automation.
  • Create and configure ports, drivers, and hardware properties on physical servers via Python scripts.
  • Integrate bare metal provisioning into CI/CD pipelines or infrastructure-as-code workflows.
  • Query node status, power states, and inventory from the command line without writing code.
  • Automate driver configuration and IPMI settings across fleets of physical hardware.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python client library and CLI for the OpenStack Bare Metal API, providing programmatic and command-line interfaces to manage bare metal provisioning and node operations.

Yes, if you are working with OpenStack Bare Metal (Ironic) infrastructure. The package is actively maintained, has no known vulnerabilities, and is the standard client for this API. Install with low friction and permissive licensing. Not relevant outside OpenStack bare metal environments.

Install

python-ironicclient on PyPI

pip

pip install python-ironicclient

uv

uv add python-ironicclient

poetry

poetry add python-ironicclient

Installing python-ironicclient

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with a release within 43 days. Depends on 12 runtime packages including keystoneauth1 and openstacksdk, which are standard OpenStack ecosystem libraries.

License in practice

Licensed under Apache-2.0 (permissive), the same as the rest of OpenStack. No restrictions on commercial or private use; you may modify and redistribute under the same license terms.

Quickstart

from ironicclient import client

kwargs = {'os_auth_token': '3bcc3d3a03f44e3d8377f9247b0ad155',
          'ironic_url': 'http://ironic.example.org:6385/'}
ironic = client.get_client(1, **kwargs)

Requires Python 3.10 or later. Requires valid OpenStack authentication credentials (token and Ironic API endpoint URL) or keystone-based authentication via keystoneauth1.

Verify before relying

  • Whether the package works with OpenStack versions other than the current release cycle.
  • Performance characteristics when managing large numbers of bare metal nodes.
  • Compatibility with non-standard or custom Ironic deployments.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 12 — pbr, platformdirs, cliff, dogpile.cache, jsonschema, keystoneauth1, openstacksdk, osc-lib, oslo.utils, PyYAML, requests, stevedore
Maintenance actively maintained — 43 days since the last release
First released
Downloads 171,791/month — #10,354 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: python_ironicclient-6.2.0-py3-none-any.whl

Development Status :: 5 - Production/StableEnvironment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsOperating 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 :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Tags

openstack bare metal clientironic api python bindingsbare metal provisioning cliopenstack node managementironicclient python librarybaremetal provisioning apiopenstack hardware provisioning
openstackbare-metal-provisioninginfrastructure-automation

More Distributed Computing packages