GitHub repository: mschlenstedt/tinytuya
Description: Python API for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API).