A Python SDK for Tuya Open API that provides IoT capabilities for device sharing, user management, and IoT core operations. Current version: 0.2.9. Maintained by Tuya official, with monthly releases.
pip install tuya-device-sharing-sdkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize TuyaOpenAPI with credentials from environment variables and test connection.
Use 'from tuya_connector import TuyaOpenAPI' instead of 'from tuya_device_sharing_sdk import ...'
Ensure API_ENDPOINT is set to the correct regional endpoint.
Change imports to use 'from tuya_connector import ...'
Check token expiry and call openapi.connect() again if needed.
No dependency data recorded yet.