azure-mgmt-containerregistry
Microsoft Azure Containerregistry Management Client Library for Python
What it is and what it does
This is the official Microsoft Azure SDK client library for managing Azure Container Registry resources via Python. It provides a ContainerRegistryManagementClient that wraps the Azure management API, allowing you to programmatically create, configure, and delete container registries, manage webhooks, tokens, scope maps, and other registry objects. The package depends on isodate, azure-mgmt-core (the common Azure SDK infrastructure), and typing-extensions for runtime support.
Version 15.0.0 is a major release with significant breaking changes: it restructures model properties into nested `properties` objects, moves some APIs to a separate package, and introduces hybrid models that behave as both dictionaries and objects. Authentication typically relies on Azure Active Directory via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID).
Use it for:
- Automate container registry provisioning and configuration in CI/CD pipelines or infrastructure-as-code workflows
- Programmatically manage registry access via tokens, scope maps, and role assignments
- Set up webhooks to trigger external systems when images are pushed or deleted from a registry
- Bulk update registry policies, network rules, or encryption settings across multiple registries
- Query and monitor registry metadata, connected registries, and credential sets in a Python application
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Manages Azure Container Registry resources—create, update, delete, and configure registries, webhooks, tokens, and related objects through the Azure management API.
Yes, if you need to manage Azure Container Registry resources from Python. The package is actively maintained, has low install friction, and is the official Microsoft SDK for this purpose. Be aware that version 15.0.0 introduces breaking changes—review the migration guide if upgrading from earlier versions. Requires Python 3.9+ and Azure subscription credentials.
Install
azure-mgmt-containerregistry on PyPI
pip
pip install azure-mgmt-containerregistryuv
uv add azure-mgmt-containerregistrypoetry
poetry add azure-mgmt-containerregistryInstalling azure-mgmt-containerregistry
Before you install
Low install friction; pure Python wheel with minimal runtime dependencies (isodate, azure-mgmt-core, typing-extensions). Actively maintained as of 2026-08-14 with recent release 2026-03-19.
Quickstart
pip install azure-mgmt-containerregistry
from azure.mgmt.containerregistry import ContainerRegistryManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ContainerRegistryManagementClient(
credential=credential,
subscription_id=sub_id
)
Requires Python 3.9+, Azure subscription, and environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID for authentication.
Verify before relying
- Whether the breaking changes in version 15.0.0 (model restructuring, API migration to azure-mgmt-containerregistrytasks) affect your existing codebase
- Whether additional authentication packages beyond the runtime dependencies are required for typical usage
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — isodate, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 148 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 14,330,863/month — #1,234 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_containerregistry-15.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-containerregistrytasksProvides Python client library for managing…
unclear · top 5,000 on PyPI
azure-containerregistryClient library for managing container images,…
permissive · top 5,000 on PyPI
azure-cli-acrProvides the Azure CLI 'acr' command module for…
permissive · top 15,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-schemaregistry-avroserializerSerializes and deserializes Avro data using…
permissive · top 15,000 on PyPI
azure-mgmt-webProvides programmatic management of Azure Web…
permissive · top 5,000 on PyPI
azure-iot-hubProvides CRUD operations and service management…
permissive · top 15,000 on PyPI
azure-mgmt-managementgroupsProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-mgmt-resource-deploymentsManages Azure resource deployments…
permissive · top 5,000 on PyPI
azure-mgmt-storageManages Azure Storage accounts, containers,…
permissive · top 5,000 on PyPI