azure-mgmt-imagebuilder
Microsoft Azure Imagebuilder Management Client Library for Python
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-imagebuilderuv
uv add azure-mgmt-imagebuilderpoetry
poetry add azure-mgmt-imagebuilderInstalling 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
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
azure-mgmt-managedservicesProvides Python client library for managing…
unclear · top 15,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-resource-templatespecsManages Azure Resource Template Specs through a…
permissive · top 5,000 on PyPI
azure-mgmt-sqlvirtualmachineManages SQL Server virtual machines in…
permissive · top 5,000 on PyPI
azure-mgmt-msiManages Azure Managed Service Identities…
permissive · top 5,000 on PyPI
azure-cognitiveservices-vision-customvisionProvides Python bindings to train and deploy…
permissive · top 15,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmt-resource-deploymentsManages Azure resource deployments…
permissive · top 5,000 on PyPI
azure-mgmt-iothubprovisioningservicesManages Azure IoT Hub Provisioning Services…
permissive · top 5,000 on PyPI
azure-mgmt-storageManages Azure Storage accounts, containers,…
permissive · top 5,000 on PyPI