or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/azure-batch@14.2.x
tile.json

tessl/pypi-azure-batch

tessl install tessl/pypi-azure-batch@14.2.0

Microsoft 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%

task.mdevals/scenario-10/

Application Package Deployment Manager

A utility for managing application package deployments to Azure Batch compute pools.

Capabilities

List available applications

  • Lists all applications available in the batch account @test
  • Returns empty list when no applications exist @test

Deploy application packages to pools

  • Deploys a specific application version to a pool @test
  • Deploys multiple application versions to a pool @test
  • Handles deployment when application package is already deployed @test

Retrieve application information

  • Retrieves details about a specific application including versions @test
  • Handles requests for non-existent applications appropriately @test

Implementation

@generates

The implementation should provide a PackageManager class that accepts batch service credentials and provides methods for managing application packages.

API

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.
        """
        pass

Dependencies { .dependencies }

azure-batch { .dependency }

Provides Azure Batch service client capabilities for managing batch workloads.