Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Microsoft Azure Batch Extended Features

Project Description

Microsoft Azure Batch Extensions

This project is a preview build of the Microsoft Azure command-line interface to demonstrate proposed features in Azure Batch. For further details on the Azure CLI, please check the official documentation.

The purpose of this project is to allow customers to try out proposed Batch features and provide feedback to help shape the direction of the Batch service. The features presented here may not be compatible with other Batch client SDKs and tools, nor will they necessarily be adopted into the core Batch service.

As these features are still in preview, they will be updated regularly, and refined based on customer feedback. Unfortunately this may result in occasional breaking changes, though every effort will be made to keep this to a minimum.



Samples for all of the preview features can be found in samples.

SDK Installation

$ pip install azure-batch-extensions

CLI Extensions Installation

In order to make use of these features, you must have the Azure CLI installed. You can find futher instructions in the official documentation and in the Azure CLI GitHub repository.

This extension package can be installed to supplement the existing Azure CLI Batch commands. It can be installed using the CLI extension tools:

$ az extension add --source [URL to latest release package]

Uninstall CLI extensions

The CLI extensions can be removed using the az extension remove command:

$ az extension remove -n azure_batch_cli_extensions

Azure Batch account requirements

In order to make use of the new features previewed here, you will need an Azure Batch account with a linked storage account. For more information on this, see Create an Azure Batch account using the Azure Portal.


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

Developer Installation

Preparing your machine

  1. Install Python 3.5.x from Please note that the version of Python that comes preinstalled on OSX is 2.7.
  2. Clone your repository and check out the master branch.
  3. Create a new virtual environment “env” for Python 3.5 in the root of your clone. You can do this by running:


python -m venv <clone root>\env

OSX/Ubuntu (bash)

python –m venv <clone root>/env
  1. Activate the env virtual environment by running:


<clone root>\env\scripts\activate.bat

OSX/Ubuntu (bash)

. <clone root>/env/bin/activate
  1. Install the dependencies and load the command module as a local package using pip.
python scripts/

SDK Release History

1.0.1 (2017-10-10)

  • Better support for unicode in Python 2.7

1.0.0 (2017-10-03)

  • Support for Batch SDK version 4.0
  • Added support for extended common_resource_files in MultiInstanceSettings
  • Added support for native containers in tasks (including RepeatTask in a task factory)

0.2.0 (2017-07-29)

  • Support for Batch SDK version 3.1
  • Fix bug with pool OS version detection
  • Download from file group now supports prefix
  • Support detection of Linux command using /bin/sh

0.1.1 (2017-07-10)

  • Fix to support azure-cli-core v2.0.11

0.1.0 (2017-06-28)

  • Initial preview release.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(84.1 kB) Copy SHA256 Hash SHA256
3.6 Wheel Oct 10, 2017
(50.7 kB) Copy SHA256 Hash SHA256
Source Oct 10, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting