CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-azure-mgmt-media

Microsoft Azure Media Services Client Library for Python - A management library for Azure Media Services that provides programmatic access to media processing and streaming capabilities in the cloud.

83

1.09x

Quality

Pending

Does it follow best practices?

Impact

83%

1.09x

Average score across 10 eval scenarios

Overview
Eval results
Files

rubric.jsonevals/scenario-2/

{
  "context": "This criteria evaluates how well the engineer uses the azure-mgmt-media package's AssetsOperations class to implement asset lifecycle management. It focuses on proper usage of asset creation, SAS URL generation, listing, and retrieval operations.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Asset Creation",
      "description": "Uses AssetsOperations.create_or_update() method to create assets. Properly passes asset_name, resource_group_name, and account_name parameters. Correctly constructs Asset object with properties like description, alternate_id, and storage_account_name.",
      "max_score": 25
    },
    {
      "name": "SAS URL Generation",
      "description": "Uses AssetsOperations.list_container_sas() method to generate upload URLs. Properly constructs ListContainerSasInput with permissions (e.g., AssetContainerPermission.READ_WRITE or AssetContainerPermission.READ_WRITE_DELETE) and expiry_time. Returns both the asset container path and the SAS token URL.",
      "max_score": 25
    },
    {
      "name": "Asset Listing",
      "description": "Uses AssetsOperations.list() method to retrieve assets. Implements OData filtering using the filter parameter (e.g., filtering by creation date). Implements ordering using the orderby parameter (e.g., 'properties/created' with 'asc' or 'desc'). Properly iterates through the paged results.",
      "max_score": 25
    },
    {
      "name": "Asset Retrieval",
      "description": "Uses AssetsOperations.get() method to retrieve specific assets by name. Properly passes asset_name, resource_group_name, and account_name parameters. Returns the asset object with its properties accessible (e.g., asset_id, storage_account_name, alternate_id, description).",
      "max_score": 20
    },
    {
      "name": "Client Initialization",
      "description": "Properly stores and uses the AzureMediaServices client instance. Accesses the client.assets property to get the AssetsOperations object. Uses the provided resource_group and account_name in all operations.",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-azure-mgmt-media

tile.json