跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Azure Queue Storage SDK for Python

技能 已验证 活跃

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

目的

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

功能

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

使用场景

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

非目标

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

工作流

  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

先决条件

  • 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.

安装

请先添加 Marketplace

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

质量评分

已验证
95 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标2.3k
许可证MIT
状态
查看源代码

类似扩展

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

技能
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".

技能
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".

技能
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".

技能
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".

技能
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.

技能
microsoft