skillfed

azure-mgmt-eventhub

Microsoft Azure Eventhub Management Client Library for Python

azure-mgmt-eventhub v12.0.0 7.6M downloads/30d#1,722 on PyPI5,588
Permissive license MIT Active released

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-eventhub

uv

uv add azure-mgmt-eventhub

poetry

poetry add azure-mgmt-eventhub

Installing 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

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 event hub managementazure eventhub client librarymanage event hubs pythonazure sdk event hubevent hub namespace managementazure resource managementevent hub provisioning
azure-sdkevent-streamingcloud-infrastructure

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-servicebus

Manages Azure Service Bus resources…

permissive · top 5,000 on PyPI

azure-eventhub-checkpointstoreblob-aio

Stores checkpoints and partition ownership for…

permissive · top 15,000 on PyPI

azure-eventhub

Publishes and consumes events from Azure Event…

unclear · top 5,000 on PyPI

azure-eventhub-checkpointstoreblob

Provides a checkpoint store implementation for…

permissive · top 15,000 on PyPI

azure-mgmt-managementgroups

Provides a Python client library to manage…

permissive · top 5,000 on PyPI

azure-iot-hub

Provides CRUD operations and service management…

permissive · top 15,000 on PyPI

azure-mgmt-relay

Manages Azure Relay namespaces, hybrid…

permissive · top 5,000 on PyPI

azure-mgmt-redhatopenshift

Provides Python bindings to manage Red Hat…

permissive · top 5,000 on PyPI

azure-mgmt-notificationhubs

Manages Azure Notification Hubs…

permissive · top 5,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI