Skip to main content

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 adb_utils as adb

adb.get_connected_devices()


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.

unlock_device(device=device_name, password=password)

Unlocks a device with the correct password.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-adb-utils, version 0.0.11
Filename, size File type Python version Upload date Hashes
Filename, size python_adb_utils-0.0.11-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size python_adb_utils-0.0.11.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page