Metadata-Version: 2.4
Name: cesium-ios
Version: 0.1.2
Summary: Driverless, WDA-Free iOS Test Automation & Telemetry SDK for Linux and Windows
Author: Cesium Team
Author-email: Cesium Team <info@cesium-ios.org>
License: MIT
Project-URL: Homepage, https://github.com/cesium-ios/cesium-ios
Project-URL: Repository, https://github.com/cesium-ios/cesium-ios
Keywords: ios,automation,coredevice,driverless,testing,wda-free,telemetry
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: pymobiledevice3>=4.0.0
Requires-Dist: Pillow>=9.0.0
Dynamic: author
Dynamic: requires-python

# cesium-ios Python SDK

**Driverless, 100% WDA-Free iOS Test Automation and Telemetry for Linux & Windows.**

Eliminates WebDriverAgent (WDA), macOS requirements, and Apple Developer accounts. Directly communicates with physical iPhones running iOS 17+ via CoreDevice, `universalhidservice`, and `axAuditDaemon`.

---

## 📦 Installation

### From Local Source (Editable Mode):
```bash
cd cesium_sdk
pip install -e .
```

### From PyPI (When Published):
```bash
pip install cesium-ios
```

---

## 🚀 Quickstart Example

```python
import time
from cesium_ios import IOSDevice

# Automatically connects to the attached device or reads os.environ["UDID"]
device = IOSDevice()

# 1. Clean slate: Return to Home
device.home()

# 2. Cold-launch an app or deep-link to a URL in < 25ms
device.launch_app("com.apple.Preferences")
time.sleep(2.0)

# 3. Tap on Wi-Fi (using coordinates or by element name)
device.tap(fx=0.50, fy=0.23)

# 4. Scroll Down & Up
device.scroll_down()
time.sleep(1.0)
device.scroll_up()

# 5. Terminate the app
device.terminate_app("Preferences")
device.home()
```

---

## 🔍 Smart Element Clicking (Zero Guesswork)

```python
# Automatically finds "Wi-Fi" on screen and taps its center
device.tap_element("Wi-Fi")

# Dump all elements on screen in ~78ms
elements = device.get_accessibility_elements()
for el in elements:
    print(el.caption, el.bounds)
```

---

## 🛠️ Publishing to PyPI

```bash
pip install build twine
python -m build
twine check dist/*
twine upload dist/*
```
