some adb scripts
Project description
some adb scripts
Tested against Windows / Python 3.11 / Anaconda
pip install adbscripts
from adbscripts import AdbCapture
path_adb = r"C:\Android\android-sdk\platform-tools\adb.exe"
device_serial = "127.0.0.1:5555"
adbscripts = AdbCapture(
adb_path=path_adb,
device_serial=device_serial,
capture_buffer=100000,
use_busybox=False,
)
adbscripts.connect_to_device()
df1, stderr = adbscripts.get_one_csv_uiautomator(
defaultvalue="null",convert_to_pandas=True
)
df, stderr = adbscripts.get_one_csv_activities(
defaultvalue="null",
with_hashcode=1,convert_to_pandas=True
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
adbscripts-0.10.tar.gz
(17.8 kB
view hashes)
Built Distribution
adbscripts-0.10-py3-none-any.whl
(17.8 kB
view hashes)
Close
Hashes for adbscripts-0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fc9a13a01b962ff73062109f4b7d5aebb039a27163bfe549d82a314c758bd57 |
|
MD5 | e11289bbaac3881a2496b0fe1610315b |
|
BLAKE2b-256 | 18bc5791efc86932926ab7cbc82465638bda00cf39d1ae688d14436b6d21075a |