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.0.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.0.tar.gz.
File metadata
- Download URL: adb_api-0.1.0.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 |
7582f997432038a8b38e01ff87c881506bdf7c04951b5c610761a6b5c88ae8c5
|
|
| MD5 |
959f7abe13aa12b24054c1e00bb4542b
|
|
| BLAKE2b-256 |
85253722b7e366084a0b0b96a753a5c0ff16c4056776f1b15936d75472f71af1
|
File details
Details for the file adb_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: adb_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 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 |
f190263c8623de41f48c175485f43e32d9970ac59a0df543d0514cba14ca5b18
|
|
| MD5 |
aad34163756227cf9105a0b34f1d4bef
|
|
| BLAKE2b-256 |
d2de4ddbb02c08671cc90a1130a8f6bd01e0339ad191dc020faf5441a667933d
|