Reader small image

You're reading from  Practical Python Programming for IoT

Product typeBook
Published inNov 2020
Reading LevelIntermediate
PublisherPackt
ISBN-139781838982461
Edition1st Edition
Languages
Right arrow

Introducing the Python Paho-MQTT client library

Before we get into Python code, we first need an MQTT client library for Python. At the start of this chapter in the Technical requirements section, we installed the Paho-MQTT client library, which was part of requirements.txt.

If you are new to MQTT and have not read the preceding section, Learning MQTT by example, I recommend stopping now and reading it first so you gain an understanding of MQTT concepts and terminology that will be used in the Python examples that follow. 

The Paho-MQTT client library comes from the Eclipse Foundation, which also maintains the Mosquitto MQTT broker. In the Further reading section, you will find a link to the official Paho-MQTT Client Library API documentation. After completing this chapter, if you wish to deepen your understanding of this library and its capabilities, I recommend reading through the official documentation and the examples found therein.

The Python Paho-MQTT library...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Practical Python Programming for IoT
Published in: Nov 2020Publisher: PacktISBN-13: 9781838982461