Azure Event Hubs libraries for Python

Azure Event Hubs is a highly scalable publish-subscribe service that can ingest millions of events per second and stream them to multiple consumers. This lets you process and analyze the massive amounts of data produced by your connected devices and applications. Once Event Hubs has collected the data, you can retrieve, transform, and store it by using any real-time analytics provider or with batching/storage adapters. If you would like to know more about Azure Event Hubs, you may wish to review: What is Event Hubs.

Libraries for data access

The latest version of the Azure Evnet Hub library is version 5.x.x. We highly recommend using version 5.x.x for new applications.

To update existing applications to version 5.x.x, please follow the migration guide.

Version 5.x.x

To send and receive events from an Azure Event Hub instance, you would use the below packages.

Library Reference Samples Source
azure-eventhub v5 API Reference for azure-eventhub v5 Samples for azure-eventhub v5 Source code for azure-eventhub v5
azure-eventhub-checkpointstoreblob API Reference Samples Source code
azure-eventhub-checkpointstoreblob-aio API Reference Samples Source code

Version 1.x.x

The older verson allows you to send and receive events from an Azure Event Hub instance, but it lacks a lot of the new features and improvements on development experience in the latest version of the same package.

Library Reference Samples Source
azure-eventhub v1 API Reference for azure-eventhub v1 Samples for azure-eventhub v1 Source code for azure-eventhub v1

Libraries for resource management

Use the following library to work with the Azure Event Huns resource provider:

Library Reference Source
azure-mgmt-eventhub API Reference Source code for azure-mgmt-eventhub