Metadata-Version: 2.4
Name: dc-u2-driver
Version: 0.0.1
Summary: A lightweight Python package for automating Android devices via uiautomator2
Author: Dai Chao Online
License: MIT
Keywords: android automation uiautomator2 adb testing bot
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: uiautomator2>=3.4.0
Requires-Dist: uiautodev>=0.9.0
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: keywords
Dynamic: license
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# DC U2 Driver

**Credit:** Original development by **Dai Chao Online**

DC U2 Driver is a lightweight Python package for automating Android devices using **uiautomator2**.  
It’s designed for developers who want fast device interactions, robust element handling, and simple APIs without extra complexity.

## Features

- Connect to Android devices via device ID  
- Interact with UI elements using multiple locator types  
- Handle clicks, long clicks, and text input  
- Retrieve element attributes safely  
- Filter English text and skip unwanted UI elements  
- Retry clicks and wait for elements with customizable timing  
- Supports Python 3.10+  

## Installation

Install using pip:

```bash
pip install dc-u2-driver
```

### Example

```python
from dc_u2_driver import ElementDriver

driver = ElementDriver("device_id_here")
# use driver.work_on_element(...) etc.

```
