azure-ai-ml
Microsoft Azure Machine Learning Client Library for Python
What it is and what it does
Azure ML is the official Python SDK v2 for Azure Machine Learning, providing a unified client interface (MLClient) to create, manage, and execute machine learning workloads on Azure. It abstracts Azure ML resources—jobs, models, components, compute clusters, datastores—into Python objects that can be created programmatically or loaded from YAML, validated against schemas, and submitted to the service via authenticated REST calls.
The SDK supports standalone jobs (command, sweep), reusable pipeline components, AutoML for classification/regression/forecasting/vision/NLP tasks, managed online and batch inference endpoints, and resource lifecycle management. It depends on azure-core, azure-mgmt-core, azure-storage-blob, and related Azure libraries for authentication, HTTP communication, and data access. Telemetry is collected in Jupyter environments by default but can be disabled.
Use it for:
- Submit and monitor standalone training jobs (Python, R, shell scripts) to Azure compute without local execution
- Build reusable ML pipeline components and orchestrate multi-step workflows with parameter sweeps
- Run AutoML experiments for tabular classification, regression, time-series forecasting, or vision/NLP tasks
- Deploy trained models to managed online endpoints for real-time inference or batch endpoints for bulk scoring
- Manage Azure ML workspace resources (compute clusters, datastores, environments) programmatically
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python client library for interacting with Azure Machine Learning services, enabling job submission, pipeline orchestration, model management, and AutoML training across multiple task types.
Yes. The package is production-stable (v2 GA), actively maintained, has no known vulnerabilities, and low install friction. Install it if you need to programmatically interact with Azure Machine Learning services—it is the official and recommended SDK for that purpose. Verify your Azure subscription and workspace setup before use.
Install
azure-ai-ml on PyPI
pip
pip install azure-ai-mluv
uv add azure-ai-mlpoetry
poetry add azure-ai-mlInstalling azure-ai-ml
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with a release 31 days ago and 5588 repository stars. Supports Python 3.9 through 3.14 and depends on 16 runtime packages, mostly within the Azure SDK ecosystem.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most production environments.
Quickstart
pip install azure-ai-ml
from azure.ai.ml import MLClient
ml_client = MLClient(
credential,
subscription_id="your-subscription-id",
resource_group_name="your-resource-group",
workspace_name="your-workspace"
)
job = ml_client.jobs.get("job-name")
Requires an active Azure subscription, an Azure Machine Learning Workspace, and valid Azure credentials configured in your environment.
Verify before relying
- Whether telemetry collection in Jupyter notebooks can be fully disabled or only opted out at client initialization
- Performance characteristics when managing large numbers of jobs or components in a single pipeline
- Whether the package supports disconnected or air-gapped Azure environments
- What authentication mechanisms are supported beyond the example shown in the description
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 16 — pyyaml, azure-core, azure-mgmt-core, marshmallow, jsonschema, tqdm, strictyaml, colorama, pyjwt, azure-storage-blob, azure-storage-file-share, azure-storage-file-datalake, pydash, isodate, typing-extensions, azure-monitor-opentelemetry |
| Maintenance | actively maintained — 31 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,141,760/month — #2,371 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_ai_ml-1.34.1-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
azureml-featurestoreProvides Python SDK access to Azure ML Feature…
permissive · top 5,000 on PyPI
azureml-train-automl-clientAutomatically selects and tunes machine…
unclear · top 15,000 on PyPI
azureml-sdkProvides a Python SDK to build, train, and…
unclear · top 15,000 on PyPI
azureml-pipeline-stepsDefines step types for building computation…
unclear · top 15,000 on PyPI
azureml-pipelineBuilds, optimizes, and manages machine learning…
unclear · top 15,000 on PyPI
azureml-coreProvides core APIs and utilities for managing…
unclear · top 5,000 on PyPI
lightning-cloudProvides a Python client for interacting with…
permissive · top 15,000 on PyPI
azureml-train-restclients-hyperdriveProvides REST client classes for creating and…
unclear · top 15,000 on PyPI
azureml-pipeline-coreProvides core pipeline infrastructure for Azure…
unclear · top 15,000 on PyPI
sap-ai-sdk-coreProvides Python client access to SAP AI Core…
unclear · top 15,000 on PyPI