Metadata-Version: 2.1
Name: urax_adb
Version: 2.0.4
Summary: A Python library to interact with Android devices using ADB.
Author-Email: Nguyen Thai Minh <ntm09112012@gmail.com>
License: Copyright (c) 2025 Nguyen Thai Minh
         
         Permission is hereby granted, free of charge, to any person obtaining a copy
         of this software and associated documentation files (the "Software"), to deal
         in the Software without restriction, including without limitation the rights
         to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         copies of the Software, and to permit persons to whom the Software is
         furnished to do so, subject to the following conditions:
         
         The above copyright notice and this permission notice shall be included in all
         copies or substantial portions of the Software.
         
         THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
         EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
         MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
         IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
         DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
         OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
         OR OTHER DEALINGS IN THE SOFTWARE.
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Project-URL: Homepage, https://github.com/thaiminhnguyen1999/urax_adb
Project-URL: Issues, https://github.com/thaiminhnguyen1999/urax_adb/issues
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# Urax ADB
![PyPI Package - Visit](https://img.shields.io/badge/PyPI%20Package-Visit-dark?style=flat-square&logo=PyPI&link=https%3A%2F%2Fpypi.org%2Fpackage%2Furax-adb) ![PyPI - Downloads](https://img.shields.io/pypi/dm/urax-adb?label="Package%20Downloads"&style="flat-square") ![PyPI - Version](https://img.shields.io/pypi/v/urax-adb?label=Package%20Version&style=flat-square)

A Python library to interact with Android devices using ADB.

# Installation
**Note: If you are using Pylance v2024.12.100 (pre-release) extension on Visual Studio Code, set the value of `python.analysis.supportRestructuredText` to `false` in settings to be able to see function comments correctly**

To install with `pip`, run the command:
```bash
pip install urax_adb
```

For specific versions, run the command:
```bash
pip install urax_adb==<VERSION>
```

# Functions
| Functions | Feature |
|:-:|:-:|
| `urax_adb.connect(device, type, port)` | Connect to device |
| `urax_adb.disconnect(device)` | Disconnect from device |
| `urax_adb.devices()` | List all connected devices |
| `urax_adb.shell(shell_commands)` | Execute multiple adb shell commands |
| `urax_adb.execute(command)` | Execute a adb command |
