tuya-device-sharing-sdk


Nametuya-device-sharing-sdk JSON
Version 0.2.1 PyPI version JSON
download
home_pagehttps://github.com/tuya/tuya-device-sharing-sdk
SummaryA Python sdk for Tuya Open API, which provides IoT capabilities, maintained by Tuya official
upload_time2024-08-13 01:36:22
maintainerNone
docs_urlNone
authorTuya Inc.
requires_python>=3.7
licenseMIT
keywords tuya device sdk python
VCS
bugtrack_url
requirements paho-mqtt requests
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Tuya Device Sharing SDK

A Python sdk for Tuya Open API, which provides basic IoT capabilities like device management capabilities, helping you create IoT solutions. 
With diversified devices and industries, Tuya IoT Development Platform opens basic IoT capabilities like device management, AI scenarios, and data analytics services, as well as industry capabilities, helping you create IoT solutions.

## Features
### APIs

- Manager
  - update_device_cache
  - refresh_mq
  - send_commands
  - get_device_stream_allocate
  - query_scenes
  - trigger_scene
  - add_device_listener
  - remove_device_listener
  - unload
- CustomerApi
	- get
	- post
	- put
	- delete
- SharingMQ
	- start
	- stop
	- add_message_listener
	- remove_message_listener
- DeviceRepository
	- query_devices_by_home
	- query_devices_by_ids
	- send_commands
- HomeRepository
	- query_homes
- SceneRepository
	- query_scenes
	- trigger_scene

## Possible scenarios

- [Smart Life Integration](https://github.com/tuya/tuya-smart-life)

## Usage

## Release Note

| version | Description                                            |
| ------- | ------------------------------------------------------ |
| 0.1.8   | fix topic error                                        |
| 0.1.9   | fix mq link id                                         |
| 0.2.0   | MQTT bulk subscription                                 |
| 0.2.1   | add updated_status_properties to SharingDeviceListener |

## Installation

`pip3 install tuya-device-sharing-sdk`

## Issue feedback

You can provide feedback on your issue via **Github Issue**.

## License

**tuya-device-sharing-sdk** is available under the MIT license. Please see the [LICENSE](./LICENSE) file for more info.
>>>>>>> main

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tuya/tuya-device-sharing-sdk",
    "name": "tuya-device-sharing-sdk",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "tuya device sdk python",
    "author": "Tuya Inc.",
    "author_email": "developer@tuya.com",
    "download_url": "https://files.pythonhosted.org/packages/b6/95/21737fb84c23571694a41518eef425d7a31d7d4e179be0927597754d713f/tuya-device-sharing-sdk-0.2.1.tar.gz",
    "platform": null,
    "description": "# Tuya Device Sharing SDK\n\nA Python sdk for Tuya Open API, which provides basic IoT capabilities like device management capabilities, helping you create IoT solutions. \nWith diversified devices and industries, Tuya IoT Development Platform opens basic IoT capabilities like device management, AI scenarios, and data analytics services, as well as industry capabilities, helping you create IoT solutions.\n\n## Features\n### APIs\n\n- Manager\n  - update_device_cache\n  - refresh_mq\n  - send_commands\n  - get_device_stream_allocate\n  - query_scenes\n  - trigger_scene\n  - add_device_listener\n  - remove_device_listener\n  - unload\n- CustomerApi\n\t- get\n\t- post\n\t- put\n\t- delete\n- SharingMQ\n\t- start\n\t- stop\n\t- add_message_listener\n\t- remove_message_listener\n- DeviceRepository\n\t- query_devices_by_home\n\t- query_devices_by_ids\n\t- send_commands\n- HomeRepository\n\t- query_homes\n- SceneRepository\n\t- query_scenes\n\t- trigger_scene\n\n## Possible scenarios\n\n- [Smart Life Integration](https://github.com/tuya/tuya-smart-life)\n\n## Usage\n\n## Release Note\n\n| version | Description                                            |\n| ------- | ------------------------------------------------------ |\n| 0.1.8   | fix topic error                                        |\n| 0.1.9   | fix mq link id                                         |\n| 0.2.0   | MQTT bulk subscription                                 |\n| 0.2.1   | add updated_status_properties to SharingDeviceListener |\n\n## Installation\n\n`pip3 install tuya-device-sharing-sdk`\n\n## Issue feedback\n\nYou can provide feedback on your issue via **Github Issue**.\n\n## License\n\n**tuya-device-sharing-sdk** is available under the MIT license. Please see the [LICENSE](./LICENSE) file for more info.\n>>>>>>> main\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python sdk for Tuya Open API, which provides IoT capabilities, maintained by Tuya official",
    "version": "0.2.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/tuya/tuya-device-sharing-sdk/issues",
        "Changes": "https://github.com/tuya/tuya-device-sharing-sdk/wiki/Tuya-Device-Sharing-SDK-Release-Notes",
        "Homepage": "https://github.com/tuya/tuya-device-sharing-sdk"
    },
    "split_keywords": [
        "tuya",
        "device",
        "sdk",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eed980daaf4f401893afb9c56f5f9123b08933685e2489bfc49c7b97e8c70e80",
                "md5": "4b9eb59e5e1b8a44bad2605ece8dc25c",
                "sha256": "1bea74893d3775f8d873fb0997c40cd3abd256a409b886984816a1e0cd22d7d0"
            },
            "downloads": -1,
            "filename": "tuya_device_sharing_sdk-0.2.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4b9eb59e5e1b8a44bad2605ece8dc25c",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 37776,
            "upload_time": "2024-08-13T01:36:20",
            "upload_time_iso_8601": "2024-08-13T01:36:20.862123Z",
            "url": "https://files.pythonhosted.org/packages/ee/d9/80daaf4f401893afb9c56f5f9123b08933685e2489bfc49c7b97e8c70e80/tuya_device_sharing_sdk-0.2.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b69521737fb84c23571694a41518eef425d7a31d7d4e179be0927597754d713f",
                "md5": "22bcb8c6f1372b15ae3963598b4fa166",
                "sha256": "72e2c97c22109a7c9208dd727b3c72aad1669d351d843f6d63db0160d87d8942"
            },
            "downloads": -1,
            "filename": "tuya-device-sharing-sdk-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "22bcb8c6f1372b15ae3963598b4fa166",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 23382,
            "upload_time": "2024-08-13T01:36:22",
            "upload_time_iso_8601": "2024-08-13T01:36:22.387885Z",
            "url": "https://files.pythonhosted.org/packages/b6/95/21737fb84c23571694a41518eef425d7a31d7d4e179be0927597754d713f/tuya-device-sharing-sdk-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-13 01:36:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tuya",
    "github_project": "tuya-device-sharing-sdk",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "paho-mqtt",
            "specs": []
        },
        {
            "name": "requests",
            "specs": []
        }
    ],
    "lcname": "tuya-device-sharing-sdk"
}
        
Elapsed time: 0.36834s