skillfed

azure-mgmt-batchai

Microsoft Azure Batch AI Management Client Library for Python

azure-mgmt-batchai v7.0.0 6.7M downloads/30d#1,860 on PyPI5,588
Permissive license MIT License Active released

What it is and what it does

Azure Batch AI Management is a Python SDK for controlling Batch AI compute resources on Microsoft Azure. It provides client libraries to create and manage clusters, file servers, jobs, experiments, and workspaces through the Azure Resource Manager API. The package wraps Azure's REST endpoints and handles authentication, polling, and error handling.

This package is deprecated and will receive no updates after 10-31-2024 except security patches. It was designed for distributed machine learning workloads on Azure infrastructure but has been superseded by azureml-core. Existing code using this library will continue to function if credentials and subscription IDs are properly configured, but new projects should adopt the replacement package and follow the published migration guide.

Use it for:

  • Programmatically provision and tear down Batch AI clusters for temporary compute jobs in existing Azure infrastructure.
  • Automate job submission and monitoring for distributed training workloads using the management API.
  • Query usage limits and resource quotas for Batch AI workspaces in a subscription.
  • Manage experiment grouping and job scheduling within Azure Batch AI workspaces via Python.
  • Integrate Batch AI resource lifecycle into CI/CD pipelines or orchestration tools.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Manages Azure Batch AI resources (clusters, jobs, experiments, workspaces) via the Azure Resource Manager API; deprecated as of 10-31-2024 in favor of azureml-core.

No, unless maintaining legacy code. The package is officially deprecated as of 10-31-2024 and will receive no feature updates or non-security bug fixes. New projects should install azureml-core instead. Existing deployments can continue to function but should plan migration to avoid future support gaps.

Install

azure-mgmt-batchai on PyPI

pip

pip install azure-mgmt-batchai

uv

uv add azure-mgmt-batchai

poetry

poetry add azure-mgmt-batchai

Installing azure-mgmt-batchai

Before you install

Low install friction with four lightweight runtime dependencies. Package is marked inactive (Development Status 7) and officially deprecated as of 10-31-2024; only security fixes are provided until that date. New projects should migrate to azureml-core instead.

License in practice

MIT License permits commercial and private use with minimal restrictions, requiring only license and copyright notice retention.

Quickstart

pip install azure-mgmt-batchai

from azure.mgmt.batchai import BatchAIManagementClient
from azure.identity import DefaultAzureCredential

credential = DefaultAzureCredential()
client = BatchAIManagementClient(credential, subscription_id)

Requires Azure subscription credentials and Python 3.7 or later. Uses azure-identity for authentication, not legacy azure.common.credentials.

Verify before relying

  • Whether existing Batch AI workloads can be migrated to azureml-core without breaking changes beyond those documented in the migration guide.
  • Timeline and support status for security fixes after 10-31-2024.
  • Compatibility of async operations (aio namespace) with current Azure service endpoints.

Package facts

License MIT License (permissive)
Python support supports the current Python release (>=3.7)
Install friction low — pure-Python wheel
Runtime dependencies 4 — isodate, azure-common, azure-mgmt-core, typing-extensions
Maintenance actively maintained — 652 days since the last release
Last repo commit
First released
Downloads 6,741,171/month — #1,860 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_batchai-7.0.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 7 - InactiveLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

azure batch ai managementazure resource manager batch aiazure ml cluster managementazure job scheduling sdkazure workspace managementbatch ai python clientazure compute resource control
deprecatedazure-sdklegacy

More Distributed Computing packages