Using azure-sdk-for-python with azure.com

Python integration

✓ Official SDK
Install
pip install azure-sdk-for-python
Quick start
import azure-sdk-for-python

# Set your API key
client = azure_sdk_for_python.Client(api_key="YOUR_API_KEY")
Tells whether this Docker Registry instance supports Docker Registry HTTP API v2
curl \
  -H "Authorization: $API_KEY" \
  /v2/
Exchange Username, Password and Scope an ACR Access Token
curl \
  -H "Authorization: $API_KEY" \
  /oauth2/token
Get repository attributes
curl \
  -H "Authorization: $API_KEY" \
  /acr/v1/{name}
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-python
Python
API
azure.com
azure.com:containerregistry
At a glance
Language Python
Endpoints25
✓ Official