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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file parallel-adb-0.0.1.tar.gz.
File metadata
- Download URL: parallel-adb-0.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bec9e4d98831562eb40c8d573a84762f7a328886fdad9148e966098cc330dbf
|
|
| MD5 |
1c55ef62a761fe3259b6185025b29708
|
|
| BLAKE2b-256 |
abff8e538653e2aa1796d4e1d46118efd65397d0d2150beaed2aa2eca00a93ce
|
File details
Details for the file parallel_adb-0.0.1-py3-none-any.whl.
File metadata
- Download URL: parallel_adb-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9e05e31538204fb2b3f27fe220bdf5e837648b40b00c735e5436c488fab2e25
|
|
| MD5 |
1f495d58dc79f96e7c4f1ccfef8188e6
|
|
| BLAKE2b-256 |
a066b8ed92e110d2553733aebc1d4dfa07913b33af0d67d3d37e52aef6ed3c05
|