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)
Metadata
Release files for parallel-adb 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| parallel-adb-0.0.1.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| parallel_adb-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / parallel-adb-0.0.1.tar.gz
| Download URL | parallel-adb-0.0.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bec9e4d98831562eb40c8d573a84762f7a328886fdad9148e966098cc330dbf
|
|
BLAKE2b-256 checksum How to use checksums |
abff8e538653e2aa1796d4e1d46118efd65397d0d2150beaed2aa2eca00a93ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / parallel_adb-0.0.1-py3-none-any.whl
| Download URL | parallel_adb-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9e05e31538204fb2b3f27fe220bdf5e837648b40b00c735e5436c488fab2e25
|
|
BLAKE2b-256 checksum How to use checksums |
a066b8ed92e110d2553733aebc1d4dfa07913b33af0d67d3d37e52aef6ed3c05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|