tree: b532874112330cdea4cd5d94b8ff328a31448573 [path history] [tgz]
  1. android_tools/
  2. LICENSE
  3. NOTICE
  4. README.md
  5. setup.py
python-libs/android-tools/README.md

Android tools for Python 3

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.

Installation

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:

Development

This library belongs to the Fairphone Android tools project. Refer to its documentation for more information.

Versioning

The intersection of PEP 440 and Semantic Versioning 2.00 defines the simple versioning scheme: "major.minor[.patch]".

License

The project is made available under the terms of the Apache 2.0 license. See LICENSE for details.

Release notes

0.1

Initial release:

  • Introduce support class for Android apps (android_tools.App);
  • Introduce support class for Android devices (android_tools.Device);
  • Introduce wrappers for aapt, adb, and fastboot that must be installed on the host.