skillfed

azure-mgmt-batch

Microsoft Azure Batch Management Client Library for Python

azure-mgmt-batch v19.0.0 7.3M downloads/30d#1,760 on PyPI5,588
License unclear Active released

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

uv

uv add azure-mgmt-batch

poetry

poetry add azure-mgmt-batch

Installing 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

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.9

Tags

azure batch management clientazure batch account managementazure resource manager batchazure batch pool managementazure batch python sdk
azure-sdkcloud-managementbatch-computing

More Distributed Computing packages

grpcio

gRPC Python is an HTTP/2-based RPC framework…

permissive · top 100 on PyPI

execnet

execnet lets you spawn and communicate with…

permissive · top 1,000 on PyPI

cloudpickle

Cloudpickle extends Python's standard pickle…

permissive · top 1,000 on PyPI

smart-open

Provides a unified, open()-compatible Python…

permissive · top 1,000 on PyPI

portalocker

Portalocker provides cross-platform file…

permissive · top 1,000 on PyPI

ray

Ray is a distributed computing framework that…

permissive · top 1,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-batch

Provides a Python client library to submit,…

unclear · top 1,000 on PyPI

azure-mgmt-managementgroups

Provides a Python client library to manage…

permissive · top 5,000 on PyPI

azure-mgmt-automation

Provides Python client library for managing…

permissive · top 15,000 on PyPI

azure-mgmt-datafactory

Manages Azure Data Factory resources—factories,…

permissive · top 5,000 on PyPI

azure-mgmt-redisenterprise

Manages Azure Redis Enterprise clusters and…

unclear · top 5,000 on PyPI

azure-mgmt-storage

Manages Azure Storage accounts, containers,…

permissive · top 5,000 on PyPI

azure-mgmt-network

Manages Azure network resources (virtual…

permissive · top 5,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI

azure-mgmt-quota

Manages Azure resource quotas and usage limits…

unclear · top 15,000 on PyPI