Skip to main content

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.


Metadata

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)

Source distribution for tinytuya-async 0.0.3
File Size Uploaded Provenance Actions
tinytuya_async-0.0.3.tar.gz 24.3 kB Without provenance Details for tinytuya_async-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tinytuya-async 0.0.3
File Interpreter ABI Platform Actions
tinytuya_async-0.0.3-py3-none-any.whl Python 3 none any Details for tinytuya_async-0.0.3-py3-none-any.whl

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

Security for tinytuya-async 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page