Neil Gelder shows us how you can write Python code to work with Azure Event Hubs:
I’ve supplied these two python scripts in my
github repo at the following link.
First we need to open the install the relevant python libraries so you’ll need to issue the below pip command in whatever command tool you use, bash or cmd Prompt
pip install azure-eventhub
Check it out if you need pub-sub in Azure.