Using litellm with azure.com

Python integration

Install
pip install litellm
Quick start
import litellm

# Set your API key
client = litellm.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
litellm
Python
API
azure.com
azure.com:containerregistry
At a glance
Language Python
Endpoints25