$npx skillfedfor your agent

azure-eventhub

Microsoft Azure Event Hubs Client Library for Python

Worth itPyPI Distributed ComputingReleased Oct 202513.9M downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — azure_eventhub-5.15.1-py3-none-any.whl
v5.15.1 · released 2025-10-30 · Python >=3.9 · 2 runtime deps: azure-core, typing-extensions

Yes. The package is production-stable, actively maintained, has low install friction, and is the official Azure SDK for Event Hubs. It carries no known vulnerabilities and supports Python 3.9 or later. Install it if you need to publish or consume events from Azure Event Hubs; the only caveat is that thread and coroutine safety are not guaranteed, so your application must manage concurrency carefully.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; requires an Azure subscription and Event Hubs namespace with an Event Hub already created; async API requires aiohttp; AAD authentication requires azure-identity.
  • Low install friction with only two runtime dependencies (azure-core and typing-extensions).
  • Active maintenance with recent commits; production-stable status as part of the official Azure SDK.

License · maintenance · safety

(unclear)

last release 2025-10-30 (288 days) · last repo commit 2026-08-14 · 5,588 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 13,938,646 downloads/mo, #1,257 on PyPI

Verify before relying

pip install azure-eventhub

from azure.eventhub import EventHubProducerClient

client = EventHubProducerClient.from_connection_string(connection_str, eventhub_name=hub_name)
with client:
    event_data_batch = client.create_batch()
    event_data_batch.add(EventData(body=b"test"))
    client.send_batch(event_data_batch)
  • Whether aiohttp and azure-identity are truly optional or required for specific use patterns.
  • Specific throughput or latency characteristics under typical workloads.
  • Thread-safety guarantees or recommended patterns for concurrent access.
Same gist for agents: .md · .json

What it is and what it does

Azure Event Hubs is a client library for interacting with Azure's managed pub-sub event streaming service. It provides EventHubProducerClient and EventHubConsumerClient classes to emit telemetry, publish application state changes, and consume event streams from Azure Event Hubs. The library handles authentication via connection strings or Azure Active Directory credentials, manages partitioned event delivery, and supports both synchronous and asynchronous APIs.

The package is designed for scenarios where you need to ingest high-volume event data from connected devices or applications, transform it, and stream it to multiple independent consumers or analytics platforms. It abstracts the AMQP protocol and Azure service details, allowing you to focus on event publishing and consumption logic. Thread safety and coroutine safety are not guaranteed, so applications must manage concurrency explicitly.

Use it for

  • Emit application telemetry and diagnostic logs to a centralized Event Hub for business intelligence and monitoring.
  • Publish state-change events that loosely coupled systems can observe and react to without direct coupling.
  • Consume events from an Event Hub, transform them, and republish to a new stream for downstream consumers.
  • Build real-time analytics pipelines by consuming Event Hub streams with analytics providers.
  • Collect sensor data from connected devices and route it to storage or processing systems.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is production-stable, actively maintained, has low install friction, and is the official Azure SDK for Event Hubs. It carries no known vulnerabilities and supports Python 3.9 or later. Install it if you need to publish or consume events from Azure Event Hubs; the only caveat is that thread and coroutine safety are not guaranteed, so your application must manage concurrency carefully.

Install

azure-eventhub on PyPI

Before you install

Low install friction with only two runtime dependencies (azure-core and typing-extensions). Active maintenance with recent commits; production-stable status as part of the official Azure SDK.

Requires Python 3.9 or later; requires an Azure subscription and Event Hubs namespace with an Event Hub already created; async API requires aiohttp; AAD authentication requires azure-identity.

Quickstart

pip install azure-eventhub

from azure.eventhub import EventHubProducerClient

client = EventHubProducerClient.from_connection_string(connection_str, eventhub_name=hub_name)
with client:
    event_data_batch = client.create_batch()
    event_data_batch.add(EventData(body=b"test"))
    client.send_batch(event_data_batch)

Verify before relying

  • Whether aiohttp and azure-identity are truly optional or required for specific use patterns.
  • Specific throughput or latency characteristics under typical workloads.
  • Thread-safety guarantees or recommended patterns for concurrent access.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
azure-coretyping-extensions
MaintenanceActively maintained 288 days since the last release
Last repo commit
First released
Downloads13,938,646 / month, #1,257 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
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.9

Evidence: azure_eventhub-5.15.1-py3-none-any.whl

Tags

Capabilities
azure event hubs clientpublish subscribe messaging azureevent streaming azureazure telemetry ingestiondistributed event processingazure event consumer producerreal-time event streaming
Topics
azure-sdkevent-streamingpub-sub
PyPI keywords
azureazure sdk

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “event streaming azure”

  • azure-eventhubPublishes and consumes events from Azure Event Hubs, a scalable…
  • azure-mgmt-mediaManages Azure Media Services resources—accounts, assets, jobs,…
  • azure-mgmt-eventgridManages Azure Event Grid resources—topics, subscriptions, namespaces,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Distributed Computing packages

grpcio Worth it
PyPI · Distributed Computing · released Jul 2026

gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.

Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.

Apache-2.0compiled wheel · 3.10+
446.4Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.

However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
cloudpickle Worth it
PyPI · Scientific/Engineering · released Nov 2025

Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.

Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.

BSD-3-Clausepure Python · 3.8+
148.4Mdownloads / mo
smart-open Worth it
PyPI · Distributed Computing · released Jul 2026

Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.

Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.

MITpure Python
72.8Mdownloads / mo
portalocker Worth it
PyPI · Libraries · released Aug 2026

Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.

Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.

BSD-3-Clausepure Python · 3.10+
65.1Mdownloads / mo
ray Worth it
PyPI · Distributed Computing · released Aug 2026

Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.

permissive licensecompiled wheel · 3.10+
63.3Mdownloads / mo

See also azure-eventhub-checkpointstoreblob · azure-messaging-webpubsubservice · azure-eventhub-checkpointstoreblob-aio · azure-eventgrid · azure-mgmt-eventhub · azure-servicebus · azure-mgmt-notificationhubs · azure-storage-queue · azure-storage-blob · azure-schemaregistry