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.3.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.3-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tinytuya_async-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 27186b57b4b7dbd62506366f5a3cc20c5ff0bc599e750272d38a3d3680e1d199
MD5 340a72a6db653833c9c0b34b773e0d18
BLAKE2b-256 40d103d533540528b9dd77b9ceb5236a1bdc476e12cfa4f55eadd8d4ba04a6bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tinytuya_async-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e73ef49a3150fce7cdf5fdd6cf3623b366829112694638b38675a1585e70f262
MD5 598b314a498f19b344b6e6a0b198e9bb
BLAKE2b-256 a87ea15a9871b12241b3c56b4e2704c074a6e257ae102c7f0bfbbd75e3a4d78a

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