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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tinytuya_async-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 57294b2bae67524e2847c31be9b135fca6c53fce67ff385e326c5712d4cf806b
MD5 5e51e5690d970bcedcec17a7b8f18b9f
BLAKE2b-256 a427799af1bac5c3f22c823c53565017d976cbf1c311f5758f2824a3bd70616a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tinytuya_async-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 24.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2942be588b472d7ad8b013547ff3c4f80db91413a788a07b4da7f43a151264c3
MD5 718ded10ce58b517731316a198c39a35
BLAKE2b-256 24cb0360fee4bd8703e09bc88384e46f3161b9be7740544759afb736dcef568d

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