Start of changes from mosquitto python to paho-mqtt which is its replacement.