azure-mgmt-servicebus
Microsoft Azure Servicebus Management Client Library for Python
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-servicebusuv
uv add azure-mgmt-servicebuspoetry
poetry add azure-mgmt-servicebusInstalling 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
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
azure-mgmt-apimanagementProvides Python client library for managing…
permissive · top 5,000 on PyPI
azure-mgmt-eventhubManages Azure Event Hub resources—namespaces,…
permissive · top 5,000 on PyPI
azure-mgmt-relayManages Azure Relay namespaces, hybrid…
permissive · top 5,000 on PyPI
azure-mgmt-storageManages Azure Storage accounts, containers,…
permissive · top 5,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmt-kustoManages Azure Kusto clusters, databases, and…
permissive · top 15,000 on PyPI
azure-mgmt-cdnManages Azure CDN resources (profiles,…
permissive · top 5,000 on PyPI
azure-servicebusAzure Service Bus client library for Python…
unclear · top 1,000 on PyPI
azure-mgmt-managementgroupsProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-mgmt-resource-subscriptionsManages Azure subscriptions and related…
permissive · top 15,000 on PyPI