Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Azure Queue Storage SDK for Python

Skill Verifiziert Aktiv

Azure Queue Storage SDK for Python. Use for reliable message queuing, task distribution, and asynchronous processing. Triggers: "queue storage", "QueueServiceClient", "QueueClient", "message queue", "dequeue".

Zweck

To enable reliable message queuing, task distribution, and asynchronous processing within Azure environments using the Python SDK.

Funktionen

  • Send and receive messages
  • Manage queues (create, delete, list)
  • Handle message visibility and timeouts
  • Support for asynchronous operations
  • Authentication with Azure credentials

Anwendungsfälle

  • Distributing tasks to worker processes
  • Implementing asynchronous communication between services
  • Building background job processing systems
  • Decoupling application components

Nicht-Ziele

  • Providing a full-fledged task scheduling system
  • Implementing complex workflow orchestration beyond basic queuing
  • Managing Azure infrastructure beyond queue operations

Workflow

  1. Authenticate with Azure credentials
  2. Get or create a QueueServiceClient
  3. Get a QueueClient for a specific queue
  4. Perform queue operations (send, receive, delete messages)
  5. Process messages and delete them upon completion

Voraussetzungen

  • Python 3.7+
  • Azure subscription
  • Azure Storage Account
  • `azure-storage-queue` and `azure-identity` Python packages

Documentation

  • info:Configuration & parameter referenceWhile parameters like `visibility_timeout` and `time_to_live` are mentioned in examples, a dedicated section detailing all parameters, their defaults, and precedence would improve clarity.

Trust

  • info:Issues AttentionOpen issues (19) vs closed issues (11) in the last 90 days suggests a closure rate below 50%, but the number of open issues is less than 20, indicating active maintenance.

Code Execution

  • info:ValidationThe Python code demonstrates basic parameter usage for queue operations, but explicit schema validation libraries like Pydantic are not shown, which could enhance robustness.
  • info:Error HandlingThe examples show basic `try...except` blocks, but more structured error reporting with `code`, `retryable`, and `hint` fields would improve agent interaction.

Errors

  • info:Actionable error messagesWhile the code shows basic exception handling, error messages could be more actionable by including specific root causes and remediation steps beyond general exception messages.

Protocol

  • info:Idempotent retry & timeoutsThe SDK likely handles retries and timeouts for Azure service calls, but this is not explicitly detailed or configurable within the skill's documentation.

Practical Utility

  • info:Edge casesThe 'Best Practices' section touches on handling `dequeue_count` for poison messages and setting `time_to_live`, but a more explicit documentation of failure modes and recovery steps would be beneficial.

Installation

Zuerst Marketplace hinzufügen

/plugin marketplace add microsoft/skills
/plugin install azure-sdk-python@skills

Qualitätspunktzahl

Verifiziert
95 /100
Analysiert about 22 hours ago

Vertrauenssignale

Letzter Commit1 day ago
Sterne2.3k
LizenzMIT
Status
Quellcode ansehen

Ähnliche Erweiterungen

Azure Servicebus Py

100

Azure Service Bus SDK for Python messaging. Use for queues, topics, subscriptions, and enterprise messaging patterns. Triggers: "service bus", "ServiceBusClient", "queue", "topic", "subscription", "message broker".

Skill
microsoft

Azure Monitor Query Py

100

Azure Monitor Query SDK for Python. Use for querying Log Analytics workspaces and Azure Monitor metrics. Triggers: "azure-monitor-query", "LogsQueryClient", "MetricsQueryClient", "Log Analytics", "Kusto queries", "Azure metrics".

Skill
microsoft

Azure Container Registry SDK for Python

100

Azure Container Registry SDK for Python. Use for managing container images, artifacts, and repositories. Triggers: "azure-containerregistry", "ContainerRegistryClient", "container images", "docker registry", "ACR".

Skill
microsoft

Azure App Configuration SDK for Python

100

Azure App Configuration SDK for Python. Use for centralized configuration management, feature flags, and dynamic settings. Triggers: "azure-appconfiguration", "AzureAppConfigurationClient", "feature flags", "configuration", "key-value settings".

Skill
microsoft

Azure Ai Document Intelligence Dotnet

100

Azure AI Document Intelligence SDK for .NET. Extract text, tables, and structured data from documents using prebuilt and custom models. Use for invoice processing, receipt extraction, ID document analysis, and custom document models. Triggers: "Document Intelligence", "DocumentIntelligenceClient", "form recognizer", "invoice extraction", "receipt OCR", "document analysis .NET".

Skill
microsoft

Skill Creator

99

Guide for creating effective skills for AI coding agents working with Azure SDKs and Microsoft Foundry services. Use when creating new skills or updating existing skills.

Skill
microsoft