This document describes the source code for the Eclipse Paho MQTT Python client library, which implements versions 5.0, 3.1.1, and 3.1 of the MQTT protocol. This code provides a client class which enable applications to connect to an MQTT broker to publish messages, and to subscribe to topics and receive published messages. It also provides some helper functions to make publishing one off messages to an MQTT server very straightforward. It supports Python 2.7.9+ or 3.6+. The MQTT protocol is a machine-to-machine (M2M) or "Internet of Things" connectivity protocol. Designed as an extremely lightweight publish and subscribe messaging transport, it is useful for connections with remote locations where a small code footprint is required or network bandwidth is at a premium. Paho is an Eclipse Foundation project.