azure-servicebus-py

Send and receive Azure Service Bus messages via Python clients.

2.9k|323|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/microsoft/skills --skill azure-servicebus-py-microsoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-servicebus-py
Source: https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-python/skills/azure-servicebus-py
Command: npx skills add https://github.com/microsoft/skills --skill azure-servicebus-py-microsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires azure-identity, azure-servicebus, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Python developers need a robust interface to Azure Service Bus for reliable queue and topic messaging in cloud-based applications.

Core Features & Use Cases

  • Queue and Topic Messaging: Send, receive, complete, and dead-letter messages across queues and topics.
  • Client Variants: Supports both synchronous and asynchronous clients for flexible integration.
  • Management & Configuration: Create, inspect, and manage queues, topics, and subscriptions, including filters and rules.

Quick Start

Install the azure-servicebus-py package and connect to your Service Bus namespace to start sending messages.

Frequently Asked Questions about azure-servicebus-py

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send and receive messages using Azure Service Bus in Python?

Azure Service Bus messaging in Python is enabled by using the SDK's synchronous and asynchronous clients to send, receive, complete, and dead-letter messages across distributed system queues and topics.

Can I manage Service Bus queues, topics, and subscriptions programmatically in Python?

You can manage Service Bus queues, topics, and subscriptions programmatically in Python by using the SDK's management APIs to create, inspect, and configure entities, including handling filters and rules for subscriptions.

Does the Python Service Bus SDK support asynchronous messaging?

The Python Service Bus SDK supports asynchronous messaging by exposing both synchronous and asynchronous client variants, allowing flexible integration for reliable queue and topic messaging in distributed applications.

What packages do I need to use Azure Service Bus with Python?

You need the azure-servicebus and azure-identity packages to use Azure Service Bus with Python, providing the required clients and authentication mechanisms for messaging and entity management.

How do I handle dead-letter queues in Azure Service Bus using Python?

Handle dead-letter queues in Azure Service Bus using Python by utilizing the SDK's client methods to dead-letter unprocessable messages, ensuring reliable messaging across queues and topics in distributed systems.

What is the best way to integrate Azure Service Bus messaging into a Python distributed system?

Integrate Azure Service Bus messaging into a Python distributed system by using the official SDK, which provides reliable queue and topic messaging with both synchronous and asynchronous clients plus entity management APIs.