skillfed

azure-mgmt-servicebus

Microsoft Azure Servicebus Management Client Library for Python

azure-mgmt-servicebus v10.0.0 7.7M downloads/30d#1,703 on PyPI5,588
Permissive license MIT Active released

What it is and what it does

This is the official Azure SDK client library for managing Service Bus infrastructure on Microsoft Azure. It provides programmatic control over Service Bus namespaces, queues, topics, subscriptions, authorization rules, and related network configuration—the administrative layer for Azure's message broker service.

Version 10.0.0 introduces hybrid model objects that behave as both dictionaries and typed models, adds network security perimeter support, geo-disaster recovery failover operations, and system metadata tracking across resources. It requires Python 3.10+ and depends on azure-mgmt-core for common ARM client logic, isodate for date parsing, and typing-extensions for runtime type hints.

Use it for:

  • Provision and configure Service Bus namespaces, queues, and topics as part of infrastructure-as-code or deployment automation.
  • Manage authorization rules and access policies for Service Bus resources programmatically.
  • Monitor and update Service Bus namespace properties (TLS version, encryption, public network access) in production environments.
  • Implement disaster recovery by triggering failover operations between paired Service Bus namespaces.
  • Query and manage network security perimeter configurations for Service Bus in regulated environments.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Manages Azure Service Bus resources (namespaces, queues, topics, subscriptions, rules) programmatically via the Azure Resource Manager API.

Yes. This is the official, actively maintained Azure SDK for Service Bus management. Low install friction, permissive license, no known vulnerabilities, and production-stable status (Development Status 5). Install it if you need to manage Service Bus resources programmatically on Azure—it is the standard tool for that task. Be aware that version 10.0.0 introduces breaking changes to model structures; review the migration guide if upgrading from earlier versions.

Install

azure-mgmt-servicebus on PyPI

pip

pip install azure-mgmt-servicebus

uv

uv add azure-mgmt-servicebus

poetry

poetry add azure-mgmt-servicebus

Installing azure-mgmt-servicebus

Before you install

Low install friction with a pure-Python wheel. Actively maintained; latest release 25 days old. Requires Python 3.10+. Three lightweight runtime dependencies (isodate, azure-mgmt-core, typing-extensions) with no compiled binaries.

License in practice

MIT license permits commercial and private use with minimal restrictions—standard permissive terms typical of Azure SDK packages.

Quickstart

pip install azure-mgmt-servicebus

from azure.mgmt.servicebus import ServiceBusManagementClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ServiceBusManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Requires Python 3.10+. Authentication requires environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID configured for Microsoft Entra token authentication.

Verify before relying

  • Whether the hybrid model migration path is straightforward for existing code upgrading to 10.0.0.
  • Performance characteristics when managing large numbers of Service Bus resources or namespaces.
  • Whether DefaultAzureCredential is available as a runtime dependency or requires separate installation.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — isodate, azure-mgmt-core, typing-extensions
Maintenance actively maintained — 25 days since the last release
Last repo commit
First released
Downloads 7,725,144/month — #1,703 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_servicebus-10.0.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

azure service bus managementazure resource manager service busmanage azure queues topicsazure service bus client libraryazure sdk python service busservice bus namespace administrationazure messaging infrastructure
azure-sdkcloud-infrastructuremessage-broker

More Distributed Computing packages

grpcio

gRPC Python is an HTTP/2-based RPC framework…

permissive · top 100 on PyPI

execnet

execnet lets you spawn and communicate with…

permissive · top 1,000 on PyPI

cloudpickle

Cloudpickle extends Python's standard pickle…

permissive · top 1,000 on PyPI

smart-open

Provides a unified, open()-compatible Python…

permissive · top 1,000 on PyPI

portalocker

Portalocker provides cross-platform file…

permissive · top 1,000 on PyPI

ray

Ray is a distributed computing framework that…

permissive · top 1,000 on PyPI

azure-mgmt-apimanagement

Provides Python client library for managing…

permissive · top 5,000 on PyPI

azure-mgmt-eventhub

Manages Azure Event Hub resources—namespaces,…

permissive · top 5,000 on PyPI

azure-mgmt-relay

Manages Azure Relay namespaces, hybrid…

permissive · top 5,000 on PyPI

azure-mgmt-storage

Manages Azure Storage accounts, containers,…

permissive · top 5,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-kusto

Manages Azure Kusto clusters, databases, and…

permissive · top 15,000 on PyPI

azure-mgmt-cdn

Manages Azure CDN resources (profiles,…

permissive · top 5,000 on PyPI

azure-servicebus

Azure Service Bus client library for Python…

unclear · top 1,000 on PyPI

azure-mgmt-managementgroups

Provides a Python client library to manage…

permissive · top 5,000 on PyPI

azure-mgmt-resource-subscriptions

Manages Azure subscriptions and related…

permissive · top 15,000 on PyPI