Enable adb command parallel run in all connected devices.
Project description
ParallelADB
Enable adb command parallel run in all connected devices.
Install
$ pip install parallel-adb
Example
from paralleladb import ParallelADB
outputs = ParallelADB.run('pm list packages')
for o in outputs:
print(o)
# Output: ADBOutputs(serial='emulator-x', results=['...'])
outputs = ParallelADB.run('forward tcp:4274 tcp:4724', is_shell_cmd=False, print_result=True)
for o in outputs:
print(o)
outputs = ParallelADB.run('cd /sdcard && ls', serials=['emulator-5554'])
for o in outputs:
print(o)
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
parallel-adb-0.0.1.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for parallel_adb-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9e05e31538204fb2b3f27fe220bdf5e837648b40b00c735e5436c488fab2e25 |
|
MD5 | 1f495d58dc79f96e7c4f1ccfef8188e6 |
|
BLAKE2b-256 | a066b8ed92e110d2553733aebc1d4dfa07913b33af0d67d3d37e52aef6ed3c05 |