Catalog PyPI
PACKAGE EXPLORERView in registry

adb-tool-py

PyPI

adb-tool-py is a tool for Android Debug Bridge (adb).

Versions collected1
Direct dependencies2From release 0.1.2
Last observed20 Oct, 19:13 UTC

README

Version 0.1.2 documentation

adb-tool-py

adb-tool-py is a library for using Android Debug Bridge (ADB) functionality from Python. It also provides extended functionality.

Features

  • Communication with Android devices
  • Parsing the displayed ViewTree
    • Search/touch strings
    • ID search/touch
    • Search/touch by other criteria

Installation

pip install adb-tool-py

Documentation

For more detailed usage and additional features, please refer to the official documentation.

Usage

import adb_tool_py as adb_tool
import time

adb1 = adb_tool.AdbTool()
adb2 = adb_tool.AdbTool(serial="emulator-5554")

ret1 = adb1.query("shell ls -al")
ret2 = adb2.query("shell ls -al")

print(ret1.returncode)
print(ret1.stdout)
print(ret1.stderr)

ret2 = adb1.logcat()
time.sleep(1)
with ret2.open() as file:
    print(file.read())
ret2.close()

License

This project is licensed under the MIT License.

Contact

If you encounter any issues, please report them through the GitHub issue tracker.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.225 May 20242

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
shotaiuchi/adb-tool-py

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:13 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:bbb4d31bb3cba1da08adf06e6ae5027854df2ea9717ce4f84e9350b15f270b11