A simple python library for Android Debug Bridge (ADB)
Project description
py-adb
A simple python library for Android Debug Bridge (ADB) developed by zhangjiahuichenxi
Install
pip install python-adb
Usage
from py_adb import *
## get all devices
get_devices_list()
## get No.1 device
get_device()
## get No.x device
get_device(x-1)
## install apk
install_apk(apk_path)
uninstall_apk(package_name)
## set device
set_device(device_id)
## set adb path
set_adb_path(adb_path)
## get adb path
get_adb_path()
## get adb vsersion
get_adb_version()
## get adb vsersion code
get_adb_version_code()
## connect device using network
net_connect(device_ip)
## get devices count
get_devices_count()
## get devices list
get_devices_list()
## auto set device
auto_set_device()
## root
root()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
adb_api-0.1.1.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file adb_api-0.1.1.tar.gz.
File metadata
- Download URL: adb_api-0.1.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3eec215f382425609b143fa8dae13ff296a9cbf10683208e046b0fd31faf69a2
|
|
| MD5 |
6d3e165e67ec80d6a00fd3b5ecac9eba
|
|
| BLAKE2b-256 |
a40a485372baf16e79b25d999ccc0364422c301707a5568a556af2e32ec19523
|
File details
Details for the file adb_api-0.1.1-py3-none-any.whl.
File metadata
- Download URL: adb_api-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4162a27c18bc1b752b5cac40e707083d8c85608a95ff060a7a4d98aa36e35795
|
|
| MD5 |
78cbfa53afef22f4146e52af9ae38e3a
|
|
| BLAKE2b-256 |
49b05bcd9ed05ddde6d4b832a00c74236e98e2ea2096fa74137ab0c0cf21577b
|