azure-mgmt-batch
Microsoft Azure Batch Management Client Library for Python
What it is and what it does
This is Microsoft's official Python client library for the Azure Batch Management API. It lets you programmatically create and manage Batch accounts, configure pools, deploy applications, and control job scheduling through Azure Resource Manager. The library wraps REST API calls and provides typed Python models for Batch resources.
Version 19.0.0 introduces breaking changes, including a shift to hybrid models (dual dictionary/model nature) and reorganization of parameters under nested `properties` objects in create/update operations. It also removes the certificate operations group entirely. The library depends on isodate, azure-mgmt-core, and typing-extensions, and requires Python 3.9 or later.
Use it for:
- Automate creation and teardown of Batch accounts and compute pools for temporary workloads.
- Manage application packages and job scheduling policies across multiple Batch accounts.
- Integrate Batch resource provisioning into infrastructure-as-code or CI/CD pipelines.
- Query pool status, monitor compute node allocation, and adjust security profiles programmatically.
- Configure network isolation, encryption, and authentication modes for Batch accounts at scale.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python client library for managing Azure Batch resources—accounts, pools, applications, and jobs—through the Azure Resource Manager API.
Yes. This is the official, actively maintained Azure Batch management library for Python. Install friction is low, it supports current Python versions (3.9+), has no known vulnerabilities, and is part of a widely-used Azure SDK ecosystem. Be aware that version 19.0.0 contains breaking changes—review migration guidance if upgrading from 18.x.
Install
azure-mgmt-batch on PyPI
pip
pip install azure-mgmt-batchuv
uv add azure-mgmt-batchpoetry
poetry add azure-mgmt-batchInstalling azure-mgmt-batch
Before you install
Low friction install with three lightweight runtime dependencies. Active maintenance: last commit 2026-08-14, released 2026-03-12. Supports Python 3.9+.
Quickstart
pip install azure-mgmt-batch
from azure.mgmt.batch import BatchManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = BatchManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Requires Azure subscription and environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID.
Verify before relying
- Whether version 19.0.0's breaking changes (hybrid models, parameter reorganization, certificate operations removal) affect existing codebases.
- Authentication mechanism and credential handling beyond environment variable configuration.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — isodate, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 155 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,270,287/month — #1,760 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_batch-19.0.0-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-batchProvides a Python client library to submit,…
unclear · top 1,000 on PyPI
azure-mgmt-managementgroupsProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-mgmt-automationProvides Python client library for managing…
permissive · top 15,000 on PyPI
azure-mgmt-datafactoryManages Azure Data Factory resources—factories,…
permissive · top 5,000 on PyPI
azure-mgmt-redisenterpriseManages Azure Redis Enterprise clusters and…
unclear · top 5,000 on PyPI
azure-mgmt-storageManages Azure Storage accounts, containers,…
permissive · top 5,000 on PyPI
azure-mgmt-networkManages Azure network resources (virtual…
permissive · top 5,000 on PyPI
azure-mgmt-webProvides programmatic management of Azure Web…
permissive · top 5,000 on PyPI
azure-mgmt-quotaManages Azure resource quotas and usage limits…
unclear · top 15,000 on PyPI