azure-mgmt-eventhub
Microsoft Azure Eventhub Management Client Library for Python
What it is and what it does
This is the official Azure SDK management client for Event Hubs, providing Python bindings to create, configure, and manage Event Hub namespaces, individual hubs, consumer groups, authorization rules, and related infrastructure through the Azure Resource Manager API. It requires authentication via Microsoft Entra using environment variables or credential objects.
Version 12.0.0 introduces a significant structural change: model properties are now nested under a `properties` object rather than exposed at the top level, which improves consistency with Azure's REST API but requires code migration for existing users. The package supports Python 3.10+ and depends on isodate, azure-mgmt-core, and typing-extensions.
Use it for:
- Automate provisioning and teardown of Event Hub namespaces and hubs in CI/CD pipelines.
- Programmatically configure consumer groups and authorization rules for event processing applications.
- Manage disaster recovery settings, network security perimeter configurations, and TLS versions for Event Hub resources.
- Monitor and update Event Hub properties such as partition counts, message retention, and auto-inflate settings.
- Integrate Event Hub resource management into infrastructure-as-code tools and cloud automation frameworks.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Manages Azure Event Hub resources—namespaces, hubs, consumer groups, and authorization rules—via the Azure management API.
Yes. This is the official, actively maintained Azure management client for Event Hubs with no known vulnerabilities, low install friction, and permissive licensing. Install it when you need to programmatically manage Event Hub resources in Azure. Be aware that version 12.0.0 contains breaking changes to model structure; review the migration guide if upgrading from earlier versions.
Install
azure-mgmt-eventhub on PyPI
pip
pip install azure-mgmt-eventhubuv
uv add azure-mgmt-eventhubpoetry
poetry add azure-mgmt-eventhubInstalling azure-mgmt-eventhub
Before you install
Low friction install with three lightweight runtime dependencies. Actively maintained with a release 15 days old; repository shows recent commits and is not archived.
License in practice
MIT license permits use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.
Quickstart
pip install azure-mgmt-eventhub
from azure.mgmt.eventhub import EventHubManagementClient
from azure.identity import DefaultAzureCredential
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = EventHubManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Requires Python 3.10+. Azure authentication environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID) must be configured.
Verify before relying
- Whether version 12.0.0's breaking changes (hybrid model migration, property restructuring) affect existing codebases using earlier versions.
- Performance characteristics and rate limits when managing large numbers of Event Hub resources.
- Full scope of operations available through the EventHubManagementClient beyond the documented examples.
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 — 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,574,090/month — #1,722 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_eventhub-12.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-servicebusManages Azure Service Bus resources…
permissive · top 5,000 on PyPI
azure-eventhub-checkpointstoreblob-aioStores checkpoints and partition ownership for…
permissive · top 15,000 on PyPI
azure-eventhubPublishes and consumes events from Azure Event…
unclear · top 5,000 on PyPI
azure-eventhub-checkpointstoreblobProvides a checkpoint store implementation for…
permissive · top 15,000 on PyPI
azure-mgmt-managementgroupsProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-iot-hubProvides CRUD operations and service management…
permissive · top 15,000 on PyPI
azure-mgmt-relayManages Azure Relay namespaces, hybrid…
permissive · top 5,000 on PyPI
azure-mgmt-redhatopenshiftProvides Python bindings to manage Red Hat…
permissive · top 5,000 on PyPI
azure-mgmt-notificationhubsManages Azure Notification Hubs…
permissive · top 5,000 on PyPI
azure-mgmt-webProvides programmatic management of Azure Web…
permissive · top 5,000 on PyPI