skillfed

azure-mgmt-containerregistry

Microsoft Azure Containerregistry Management Client Library for Python

azure-mgmt-containerregistry v15.0.0 14.3M downloads/30d#1,234 on PyPI5,588
License unclear Active released

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

uv

uv add azure-mgmt-containerregistry

poetry

poetry add azure-mgmt-containerregistry

Installing 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

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.13Programming Language :: Python :: 3.9

Tags

azure container registry managementacr python clientazure registry apicontainer registry provisioningazure mgmt sdkregistry resource managementacr configuration python
azure-sdkcontainer-registrycloud-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-containerregistrytasks

Provides Python client library for managing…

unclear · top 5,000 on PyPI

azure-containerregistry

Client library for managing container images,…

permissive · top 5,000 on PyPI

azure-cli-acr

Provides the Azure CLI 'acr' command module for…

permissive · top 15,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-schemaregistry-avroserializer

Serializes and deserializes Avro data using…

permissive · top 15,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI

azure-iot-hub

Provides CRUD operations and service management…

permissive · top 15,000 on PyPI

azure-mgmt-managementgroups

Provides a Python client library to manage…

permissive · top 5,000 on PyPI

azure-mgmt-resource-deployments

Manages Azure resource deployments…

permissive · top 5,000 on PyPI

azure-mgmt-storage

Manages Azure Storage accounts, containers,…

permissive · top 5,000 on PyPI