Azure Service Bus libraries for Python

Microsoft Azure Service Bus supports a set of cloud-based, message-oriented middleware technologies including reliable message queuing and durable publish/subscribe messaging.

Libraries for data access

The latest version of the Azure Service Bus library is version 7.x.x. We highly recommend using version 7.x.x for new applications.

To update existing applications to version 7.x.x, please follow the migration guide.

Version 7.x.x

To send and receive messages from an Azure Service Bus queue, topic or subscription, you would use the latest version of the azure-servicebus. This also allows to manage your Azure Service Bus resources like queues, topics, subscriptions and rules, but not the namespace itself.

Library Reference Samples Source
azure-servicebus v7 API Reference for azure-servicebus v7 Samples for azure-servicebus v7 Source code for azure-servicebus v7

Version 0.50.x

The older verson allows you to send and receive messages from an Azure Service Bus queue, topic or subscription, but it lacks a lot of the new features and performance improvements available in the latest version of the same package.

Library Reference Samples Source
azure-servicebus v0.50 API Reference for azure-servicebus 0.50 Samples for azure-servicebus 0.50 Source code for azure-servicebus 0.50

Libraries for resource management

To manage your Azure Service Bus resources like namespaces, queues, topics, subscriptions and rules via the Azure Resource Manager, you would use the below package:

Library Reference Source
azure-mgmt-servicebus API Reference for azure-mgmt-servicebus Source code for azure-mgmt-servicebus

Next Steps