skillfed

azure-mgmt-imagebuilder

Microsoft Azure Imagebuilder Management Client Library for Python

azure-mgmt-imagebuilder v2.0.0 5.1M downloads/30d#2,163 on PyPI5,588
License unclear Active released

What it is and what it does

azure-mgmt-imagebuilder is the official Python SDK for Microsoft's Azure Image Builder service. It provides a client library to programmatically create, manage, and customize VM image templates within Azure, handling the full lifecycle from template definition through image distribution. The package wraps Azure's REST API for image building operations, allowing developers to automate image creation workflows without manual portal interaction.

The library requires Python 3.10+ and depends on azure-mgmt-core for common Azure SDK patterns, isodate for date/time handling, and typing-extensions for type hints. Authentication uses Azure Active Directory via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID). Version 2.0.0 introduced hybrid models and new features like workload optimization and replication modes, though it includes breaking changes requiring code migration for existing users.

Use it for:

  • Automate creation of standardized VM images with custom software, configurations, and patches applied consistently across environments.
  • Build and distribute golden images to shared image galleries with versioning and multi-region replication control.
  • Integrate image building into CI/CD pipelines to generate fresh VM images on demand for infrastructure-as-code deployments.
  • Configure image optimization for specific workloads and manage VM profile settings programmatically.
  • Trigger and monitor image builds from Python applications without manual Azure portal intervention.

Worth the install?

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

Manages Azure VM image templates and builds through the Azure Image Builder service, providing Python bindings to create, configure, and deploy custom virtual machine images.

Yes. This is an actively maintained, production-stable SDK from Microsoft with no known vulnerabilities, low install friction, and strong community adoption (top 5000 PyPI packages). Install it if you need to automate Azure Image Builder workflows from Python. Be aware that version 2.0.0 introduced breaking changes around hybrid models—review the migration guide if upgrading from 1.x.

Install

azure-mgmt-imagebuilder on PyPI

pip

pip install azure-mgmt-imagebuilder

uv

uv add azure-mgmt-imagebuilder

poetry

poetry add azure-mgmt-imagebuilder

Installing azure-mgmt-imagebuilder

Before you install

Low friction installation with three lightweight runtime dependencies. Actively maintained with a recent release (73 days old) and no known vulnerabilities. Repository shows strong community engagement and ongoing development.

Quickstart

pip install azure-mgmt-imagebuilder

from azure.mgmt.imagebuilder import ImageBuilderClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ImageBuilderClient(credential=credential, subscription_id=sub_id)

Requires Python 3.10+. Azure subscription and authentication environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID) must be configured.

Verify before relying

  • Whether authentication via DefaultAzureCredential requires a separate package installation beyond the three listed runtime dependencies.
  • Scope and frequency of breaking changes in the 2.0.0 release, particularly around hybrid model migration.
  • Whether cloud_setting parameter in ImageBuilderClient.__init__ is required or optional.

Package facts

License not declared (unclear)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — isodate, azure-mgmt-core, typing-extensions
Maintenance actively maintained — 73 days since the last release
Last repo commit
First released
Downloads 5,129,906/month — #2,163 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_imagebuilder-2.0.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Tags

azure image builder clientvm image template managementazure image customizationmanaged image creation azureimage builder sdk pythonazure vm image provisioning
azure-sdkinfrastructure-as-codeimage-management

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI

azure-mgmt-managementpartner

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-resource-templatespecs

Manages Azure Resource Template Specs through a…

permissive · top 5,000 on PyPI

azure-mgmt-sqlvirtualmachine

Manages SQL Server virtual machines in…

permissive · top 5,000 on PyPI

azure-mgmt-msi

Manages Azure Managed Service Identities…

permissive · top 5,000 on PyPI

azure-cognitiveservices-vision-customvision

Provides Python bindings to train and deploy…

permissive · top 15,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-resource-deployments

Manages Azure resource deployments…

permissive · top 5,000 on PyPI

azure-mgmt-iothubprovisioningservices

Manages Azure IoT Hub Provisioning Services…

permissive · top 5,000 on PyPI

azure-mgmt-storage

Manages Azure Storage accounts, containers,…

permissive · top 5,000 on PyPI