A support library to work with Android devices and apps. Allows Python apps and scripts to access the host commands to interact with connected Android devices through adb
and fastboot
. Android apps are handled through aapt
and adb
.
This library wraps around the well-known Android SDK Platform Tools and works together with them.
The Android tools for Python 3 library can be installed directly from the Git repository:
# Install the latest native Python RSA crypto library $ pip install rsa~=4.0 # Install the latest library version $ pip install --process-dependency-links \ 'git+https://code.fairphone.com/gerrit/vendor/fairphone/tools#subdirectory=python-libs/android-tools&egg=android-tools'
It requires:
This library belongs to the Fairphone Android tools project. Refer to its documentation for more information.
The intersection of PEP 440 and Semantic Versioning 2.00 defines the simple versioning scheme: "major.minor[.patch]".
The project is made available under the terms of the Apache 2.0 license. See LICENSE for details.
Initial release:
android_tools.App
);android_tools.Device
);aapt
, adb
, and fastboot
that must be installed on the host.