Metadata-Version: 2.4
Name: tinytuya_async
Version: 0.0.1
Summary: TinyTuya Async
Project-URL: Homepage, https://github.com/3735943886/tinytuya_async
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: asyncio
Requires-Dist: tinytuya

## 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:

```bash
pip install tinytuya-async
```

### 💡 Usage Example

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

-----
