Skip to main content

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


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)

Uploaded Source

Built Distribution

parallel_adb-0.0.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page