Azure Container Registry SDK for Python enables developers to manage container images, artifacts, and repositories in Azure Container Registry from Python code.
It provides programmatic access to repositories, tags, and manifests, with support for both synchronous and asynchronous operations and flexible authentication via Azure Identity.
What problem does it solve?
Managing container registry resources can be tedious and error-prone when done manually through multiple API calls or UI consoles. This SDK abstracts common operations and provides a consistent Pythonic interface to work with Azure Container Registry.
Core Features & Use Cases
- List repositories, tags, and manifests in a registry to inventory and monitor your images.
- Get and update repository or manifest properties, delete outdated artifacts, and perform cleanup tasks.
- Use both sync and async clients with DefaultAzureCredential or anonymous access for flexible integration in applications.
Quick Start
Install the azure-containerregistry package and create a ContainerRegistryClient to list repositories.