CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-azure-servicebus

Microsoft Azure Service Bus Client Library for Python providing comprehensive messaging capabilities for enterprise applications.

Overall
score

92%

Overview
Eval results
Files

rubric.jsonevals/scenario-3/

{
  "context": "This criteria evaluates how well the engineer uses the azure-servicebus package to initialize ServiceBusClient instances with different credential types. The focus is on proper usage of the ServiceBusClient constructor with AzureSasCredential, TokenCredential, and AzureNamedKeyCredential as specified in the azure-servicebus SDK.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "ServiceBusClient import",
      "description": "Correctly imports ServiceBusClient from azure.servicebus package",
      "max_score": 5
    },
    {
      "name": "Credential imports",
      "description": "Correctly imports AzureSasCredential, AzureNamedKeyCredential, and TokenCredential from azure.core.credentials",
      "max_score": 10
    },
    {
      "name": "AzureSasCredential instantiation",
      "description": "Creates AzureSasCredential instance by constructing a SAS signature string from the shared_access_key_name and shared_access_key, then passing it to the AzureSasCredential constructor",
      "max_score": 20
    },
    {
      "name": "SAS client creation",
      "description": "Passes the fully_qualified_namespace and AzureSasCredential instance to ServiceBusClient constructor to create a client with SAS authentication",
      "max_score": 15
    },
    {
      "name": "TokenCredential client creation",
      "description": "Passes the fully_qualified_namespace and TokenCredential instance directly to ServiceBusClient constructor for Azure AD authentication",
      "max_score": 15
    },
    {
      "name": "AzureNamedKeyCredential instantiation",
      "description": "Creates AzureNamedKeyCredential instance using the constructor with policy_name and key parameters",
      "max_score": 20
    },
    {
      "name": "Named key client creation",
      "description": "Passes the fully_qualified_namespace and AzureNamedKeyCredential instance to ServiceBusClient constructor to create a client with named key authentication",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-azure-servicebus

tile.json