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.
Source Distribution
Built Distribution
File details
Details for the file python_adb_utils-0.0.11.tar.gz
.
File metadata
- Download URL: python_adb_utils-0.0.11.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4ef44b8f09126513ceb4ec4c5ae5a8432241495a89d1ef8d63eb72a1f8cf827 |
|
MD5 | 7d5a4fadbcc00de1fdf0ad16293b150b |
|
BLAKE2b-256 | 107957cb371b6126b656b2e9efda08d22df5d06707c808699226351441743334 |
File details
Details for the file python_adb_utils-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: python_adb_utils-0.0.11-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c95ef78aaca0c1bf2b37d82eb6e796ed0d11e9ef67eb451f64135f6b3158c74d |
|
MD5 | ebc39fec4b74a12e99357be3f28ee116 |
|
BLAKE2b-256 | e105c0ea30bdc188a57399038c14cc4196cc461a5ef257a65af60ffc0e6cac96 |