tessl install tessl/pypi-azure-batch@14.2.0Microsoft Azure Batch Client Library for Python providing comprehensive APIs for managing batch computing workloads in Azure cloud
Agent Success
Agent success rate when using this tile
91%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.07x
Baseline
Agent success rate without this tile
85%
A utility for managing application package deployments to Azure Batch compute pools.
@generates
The implementation should provide a PackageManager class that accepts batch service credentials and provides methods for managing application packages.
class PackageManager:
"""Manages application package deployment for Azure Batch pools."""
def __init__(self, batch_url: str, credentials):
"""
Initialize the package manager.
Args:
batch_url: The URL of the Azure Batch account
credentials: Authentication credentials for the batch account
"""
pass
def list_applications(self) -> list:
"""
List all applications in the batch account.
Returns:
A list of application IDs
"""
pass
def get_application(self, application_id: str) -> dict:
"""
Get details about a specific application.
Args:
application_id: The ID of the application to retrieve
Returns:
A dictionary containing application details including available versions
"""
pass
def deploy_to_pool(self, pool_id: str, application_id: str, version: str = None):
"""
Deploy an application package to a pool.
Args:
pool_id: The ID of the pool to deploy to
application_id: The ID of the application to deploy
version: Optional version string. If not specified, uses default version.
"""
passProvides Azure Batch service client capabilities for managing batch workloads.