--- id: azure-mgmt-eventhub version: "12.0.0" license: MIT license_treatment: permissive maintenance: active --- # azure-mgmt-eventhub — Microsoft Azure Eventhub Management Client Library for Python License: permissive · Maintenance: active · Downloads: 7.6M/mo ## 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 above — 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 pip install azure-mgmt-eventhub uv add azure-mgmt-eventhub 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_current - Install friction: low - Maintenance: active - Downloads: 7.6M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure event hub management, azure eventhub client library, manage event hubs python, azure sdk event hub, event hub namespace management, azure resource management, event hub provisioning, azure-sdk, event-streaming, cloud-infrastructure [View on SkillFed](https://skillfed.io/packages/azure-mgmt-eventhub) · [View on PyPI](https://pypi.org/project/azure-mgmt-eventhub/)