Skip to main content

TinyTuya Async

Project description

tinytuya_async

tinytuya_async is a minimal, asyncio implementation derived from the popular tinytuya library.

The main tinytuya project is currently preparing for a major version 2.0 release with native async support. This effort involves significant changes to support the wide variety of devices, protocol versions, new features like callbacks, and device type handling already supported by tinytuya, which will take time.

Therefore, tinytuya_async is a minimal change library that focuses only on replacing the core socket I/O of a single device with an asynchronous implementation (DeviceAsync). This repository is intended to be used as a stopgap solution until the official tinytuya 2.0 release is available.


📥 Installation

Install the library using pip:

pip install tinytuya-async

💡 Usage Example

A complete example demonstrating asynchronous connection and status monitoring is located at examples/monitor_async.py.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinytuya_async-0.0.2.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tinytuya_async-0.0.2-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file tinytuya_async-0.0.2.tar.gz.

File metadata

  • Download URL: tinytuya_async-0.0.2.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tinytuya_async-0.0.2.tar.gz
Algorithm Hash digest
SHA256 76a2ded591b498c52b9d090a8b0b6a04ca6adc22e03d795161f996f34dcd9861
MD5 ce382d19e657a01e81645e5f38942a55
BLAKE2b-256 d72b33b8111f2530f755030be1fe37b94b8de51836286e9919937dcc6f1b27cf

See more details on using hashes here.

File details

Details for the file tinytuya_async-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: tinytuya_async-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 24.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tinytuya_async-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 29650848d56741ffbd189fcbf449efbefdae8439175137829a7c4424a14b2240
MD5 10fa1da542561e2962ebd3d556a1f4a0
BLAKE2b-256 bcf5f8470c299c121270f09c5d7b6844325d3aa317233dba18b2d970e507ab69

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page