This is the first test of a ADB interface for Python
Project description
Python-ADB-Tools
Installation
You can install this package via pip
pip install python_adb_utils
or
pip3 install python_adb_utils
Usage:
To use these tools you only need to import and create an instance of AdbUtils()
from adb_utils import AdbUtils
adb_instance = AdbUtils()
Available Methods
get_connected devices()
This method will return you a list of tuples having the device name and Android version for that specific version.
install_app(device=device_name, apk=path_to_apk)
Installs an app to the chosen device.
unistall_app(device=device_name, package=package_name)
Uninstalls an app
is_device_connected(device=device)
Returns True if a device is connected.
is_app_installed(device=device_name, package=package_name)
Check if an app is installed on a specific device.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python_adb_utils-0.0.9.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for python_adb_utils-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74383cd7d2cf40553ea1aacd4dd8b299dcdf253fdfdc58116f10ae4e5b37a529 |
|
MD5 | 88fedcf2b60997ede9ce2337d6c08326 |
|
BLAKE2b-256 | c5c4ff44239e90b44f5eb49e64128ebdb354c9012cfcfbb9823e6347c5f0ac82 |