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.
Release files for tinytuya-async 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tinytuya_async-0.0.3.tar.gz | 24.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tinytuya_async-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.0 kB
Release files / tinytuya_async-0.0.3.tar.gz
| Download URL | tinytuya_async-0.0.3.tar.gz |
|---|---|
| Size | 24.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27186b57b4b7dbd62506366f5a3cc20c5ff0bc599e750272d38a3d3680e1d199
|
|
BLAKE2b-256 checksum How to use checksums |
40d103d533540528b9dd77b9ceb5236a1bdc476e12cfa4f55eadd8d4ba04a6bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / tinytuya_async-0.0.3-py3-none-any.whl
| Download URL | tinytuya_async-0.0.3-py3-none-any.whl |
|---|---|
| Size | 24.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e73ef49a3150fce7cdf5fdd6cf3623b366829112694638b38675a1585e70f262
|
|
BLAKE2b-256 checksum How to use checksums |
a87ea15a9871b12241b3c56b4e2704c074a6e257ae102c7f0bfbbd75e3a4d78a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|