semvec/pypi-packages huggingface dataset:
OjoPyADB 0.2.0
HsOjo's Python3 Android Debug Bridge. Support App/File/Input/Display Operation...
Requires Python: >=3.6
Keywords: hsojo python3 android adb pyadb ojopyadb

# OjoPyADB

This project is written with Python 3, which aims to provide a simple and practical ADB function for Python 3.

## Introduction

The module currently integrates the following functions:

* Application management (installation, uninstall, start, stop, clear data, freeze, get status, etc.)
* File management (pull, push, copy, move, delete, view and other basic functions)
* Input control (text, key, click, slide)
* Display management (adjust resolution, DPI, screenshot)

In the future, corresponding functions will be added according to the requirements.

## How to use

As shown below.

### Installation

* Starting from version 0.0.3, the module will be uploaded to pypi. You can also install it directly using pip.

```bash
pip install OjoPyADB
```

#### Manual Installation

1. Open the [release page](https://github.com/hsojo/ojopyadb/releases) to find the latest version of the installation file.

2. (Optional) download to this machine through browser, and then use **pip** to execute the following command to install.

```bash
pip install OjoPyADB-0.0.1-py3-none-any.whl
```

* Of course, you can also directly copy the download link of the installation package and use **pip** for online installation. (execute the following command)

```bash
# Note: that the link here is version 0.0.1, please replace it with the latest version.
pip install https://github.com/HsOjo/OjoPyADB/releases/download/0.0.1/OjoPyADB-0.0.1-py3-none-any.whl
```

### Example code

Here are some simple usage. For specific parameters, please refer to the code prompt of IDE. Try more.

```python3
from pyadb import PyADB, KeyCode

adb = PyADB()
print(adb.version)
print(adb.devices)
print(adb.forward.list)
if len(adb.devices) > 0:
    device = list(adb.devices.values())[0]
    print(device.abi)
    print(device.sn, device.state)
    print(device.app.current_activity)
    print(device.input.keyevent(KeyCode.HOME))
    print(device.input.keyevent(KeyCode.SEARCH))
    device.input.text('Hello World!\tThis input method is ASCII only...')
    print(device.file.listdir('/sdcard/'))
    print(device.display.size())
    img = device.display.screen_cap()
    print(len(img))
    logcat = device.logcat
    logcat.set_filterspecs(**{'ActivityManager': logcat.PRIORITY_INFO})
    print(logcat.dump())
```

### Demo

See the "pyadb/demo" directory.
PyAndroidTouch 0.1.0
Python3 Android Touch Module, Base On "BobbleKeyboard/android_touch". Support Multi-Finger Tap/Swipe/Circle/Expand Action...
Requires Python: >=3.6
Keywords: hsojo python3 android ojopyadb touch

```
  ___  __    __                _           _     _   _                   _
|` _ `\\`\  /,/ __ _ _ __   __| |_ __ ___ (_) __| | | |_ ___  _   _  ___| |__
| (_) / \ \/ / / _` | '_ \ / _` | '__/ _ \| |/ _` | | __/ _ \| | | |/ __| '_ \
| ,_ /   \ ,/ | (_| | | | | (_| | | | (_) | | (_| | | || (_) | |_| | (__| | | |
|_|      /_/   \__,_|_| |_|\__,_|_|  \___/|_|\__,_|  \__\___/ \__,_|\___|_| |_|
```

![android_touch](https://github.com/BobbleKeyboard/android_touch/raw/master/android_touch.gif)

# PyAndroidTouch

This project is the python 3 support module based on "[BobbleKeyboard/android_touch](https://github.com/BobbleKeyboard/android_touch)".

## Introduction

Support multi finger click / slide / circle / expand and other actions.

* tap (tap, long press click, continuous click, multi finger click)
* swipe (swipe, multi finger swipe) # currently only linear swipe
* circle (circle, long press circle, multi finger circle, continuous circle, reverse circle)
* expand (expand, multidirectional expand) # is equivalent to supporting shrink

## How to use

As shown below.

### Installation

* Starting from version 0.0.2, the module will be uploaded to pypi. You can also install it directly using pip.

```bash
pip install PyAndroidTouch
```

#### Manual Installation

1. Open the [release page](https://github.com/HsOjo/PyAndroidTouch/releases) to find the latest version of the installation file.

2. (Optional) download to this machine through browser, and then use **pip** to execute the following command to install.

```bash
pip install PyAndroidTouch-0.0.2-py3-none-any.whl
```

* Of course, you can also directly copy the download link of the installation package and use **pip** for online installation. (execute the following command)

```bash
# Note: that the link here is version 0.0.2, please replace it with the latest version.
pip install https://github.com/HsOjo/PyAndroidTouch/releases/download/0.0.2/PyAndroidTouch-0.0.2-py3-none-any.whl
```

### Example code

...

### Demo

See the "pyandroidtouch/demo" directory.