MQTT Python 客户端库,支持 3.1, 3.1.1, 5.0;类似的包还有 aiomqtt、hbmqtt。 安装 § pip install paho-mqtt 参考 § eclipse/paho.mqtt.python