skillfed

azure-ai-ml

Microsoft Azure Machine Learning Client Library for Python

azure-ai-ml v1.34.1 4.1M downloads/30d#2,371 on PyPI5,588
Permissive license MIT Active released

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

uv

uv add azure-ai-ml

poetry

poetry add azure-ai-ml

Installing 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

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

Tags

azure machine learning python clientazure ml jobs and pipelinesautoml training pythonazure ml model managementmachine learning workflow automationazure ml batch and online inferencehyperparameter tuning azure
azure-sdkautomlmlops

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

azureml-featurestore

Provides Python SDK access to Azure ML Feature…

permissive · top 5,000 on PyPI

azureml-train-automl-client

Automatically selects and tunes machine…

unclear · top 15,000 on PyPI

azureml-sdk

Provides a Python SDK to build, train, and…

unclear · top 15,000 on PyPI

azureml-pipeline-steps

Defines step types for building computation…

unclear · top 15,000 on PyPI

azureml-pipeline

Builds, optimizes, and manages machine learning…

unclear · top 15,000 on PyPI

azureml-core

Provides core APIs and utilities for managing…

unclear · top 5,000 on PyPI

lightning-cloud

Provides a Python client for interacting with…

permissive · top 15,000 on PyPI

azureml-train-restclients-hyperdrive

Provides REST client classes for creating and…

unclear · top 15,000 on PyPI

azureml-pipeline-core

Provides core pipeline infrastructure for Azure…

unclear · top 15,000 on PyPI

sap-ai-sdk-core

Provides Python client access to SAP AI Core…

unclear · top 15,000 on PyPI