$npx skillfedfor your agent

tuya-device-sharing-sdk

A Python sdk for Tuya Open API, which provides IoT capabilities, maintained by Tuya official

With conditionsPyPI Software DevelopmentReleased Jul 2026134.2K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — tuya_device_sharing_sdk-0.2.14-py3-none-any.whl
v0.2.14 · released 2026-07-22 · Python >=3.7 · 2 runtime deps: paho-mqtt, requests

Yes, if you are building on the Tuya platform. The SDK is actively maintained by Tuya, has no known vulnerabilities, low install friction, and a permissive MIT license. It is the official integration point for Tuya's Open API. Install it only if you have Tuya devices or a Tuya developer account to work with; it is not a general-purpose IoT library.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires valid Tuya API credentials and an initialized API client instance to instantiate Manager.
  • Low install friction with only two runtime dependencies (paho-mqtt and requests).
  • The package is actively maintained with a release 23 days ago and shows steady bug fixes across recent versions.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2026-07-22 (23 days) · last repo commit 2026-07-31 · 44 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 134,209 downloads/mo, #11,482 on PyPI

Verify before relying

pip install tuya-device-sharing-sdk

from tuya_device_sharing_sdk import Manager

manager = Manager(api_client)
manager.send_commands(device_id, commands)
  • Whether the SDK requires Tuya API credentials or account setup beyond what pip install provides
  • Performance characteristics when managing large numbers of devices or high-frequency MQTT messages
  • Completeness of API coverage relative to the full Tuya Open API specification
Same gist for agents: .md · .json

What it is and what it does

This is an official Tuya SDK that wraps their Open API to let you programmatically manage IoT devices, homes, and automation scenes. It provides a Manager class for high-level operations like sending commands and triggering scenes, repository classes for querying devices and homes, and a message queue interface for real-time device updates via MQTT. The SDK handles the underlying HTTP requests and MQTT subscriptions, so you work with Python objects rather than raw API calls.

The package depends on paho-mqtt for message queue connectivity and requests for HTTP communication. It supports Python 3.7 and newer, including PyPy. Recent versions have focused on stability—fixing MQTT reconnection issues and improving type hints. The active maintenance and low dependency count make it straightforward to integrate into existing Python projects.

Use it for

  • Build a Smart Life integration or custom dashboard that queries and controls Tuya devices across multiple homes
  • Automate device commands and scene triggers based on external events or schedules
  • Listen to real-time device status updates via MQTT to react to property changes
  • Query device metadata and room assignments to organize and display device hierarchies
  • Implement custom IoT workflows that combine device commands with business logic

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building on the Tuya platform.

The SDK is actively maintained by Tuya, has no known vulnerabilities, low install friction, and a permissive MIT license. It is the official integration point for Tuya's Open API. Install it only if you have Tuya devices or a Tuya developer account to work with; it is not a general-purpose IoT library.

Install

tuya-device-sharing-sdk on PyPI

Before you install

Low install friction with only two runtime dependencies (paho-mqtt and requests). The package is actively maintained with a release 23 days ago and shows steady bug fixes across recent versions.

Requires valid Tuya API credentials and an initialized API client instance to instantiate Manager.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install tuya-device-sharing-sdk

from tuya_device_sharing_sdk import Manager

manager = Manager(api_client)
manager.send_commands(device_id, commands)

Verify before relying

  • Whether the SDK requires Tuya API credentials or account setup beyond what pip install provides
  • Performance characteristics when managing large numbers of devices or high-frequency MQTT messages
  • Completeness of API coverage relative to the full Tuya Open API specification

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
paho-mqttrequests
MaintenanceActively maintained 23 days since the last release
Last repo commit
First released
Downloads134,209 / month, #11,482 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development

Evidence: tuya_device_sharing_sdk-0.2.14-py3-none-any.whl

Tags

Capabilities
tuya iot device managementtuya open api sdksmart home device controlmqtt device communicationtuya scene automation
Topics
iotmqtttuya
PyPI keywords
tuyadevicesdkpython

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “tuya iot device management”

  • tuya-device-sharing-sdkA Python SDK for Tuya's Open API that handles IoT device management,…
  • tinytuyaControls and monitors Tuya WiFi smart devices (plugs, switches,…
  • zha-quirksProvides custom device handlers (quirks) for non-standard Zigbee…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also awsiotsdk · HATasmota · tinytuya · meross-iot · aioharmony · azure-iot-device · pymammotion · azure-iot-hub · tb-mqtt-client · deebot-client