Skip to main content

usefuladb with restart

Project description

usefuladb with restart

A version of https://github.com/hansalemaos/usefuladb that automatically reconnects if it gets disconnected

pip install usefuladbwithrestart

from usefuladbwithrestart import AdbWRestart

adb = AdbWRestart(
    adb_path=r"C:\ProgramData\chocolatey\lib\adb\tools\platform-tools\adb.exe",
    device_serial="127.0.0.1:5845",
    use_busybox=False,
    connect_to_device=True,
    print_stdout=False,
    print_stderr=False,
    convert_to_83=True,
    su=False,
    commandtimeout=30,
    escape_filepath=True,
    restart_when_error=True,
    restart_tries=10,
    sleep_after_reconnection_attempt=5,
)

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

usefuladbwithrestart-0.10.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

usefuladbwithrestart-0.10-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file usefuladbwithrestart-0.10.tar.gz.

File metadata

  • Download URL: usefuladbwithrestart-0.10.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for usefuladbwithrestart-0.10.tar.gz
Algorithm Hash digest
SHA256 ac30087b84167c42b6004d8a1de1a392759110f91df97b027e214e5ed1003977
MD5 ba70b33654a212ec0d7a5f30a1dca6b2
BLAKE2b-256 eda06eb7d5058c4e3e635478052583e44f4a144fe70e5de952af9e322f1c499a

See more details on using hashes here.

File details

Details for the file usefuladbwithrestart-0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for usefuladbwithrestart-0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 7d43016ef9835249107836a21a946ff3db3d6506ad897693507f883c3478d038
MD5 0a9334d561dd0f517586dd64999bc4c0
BLAKE2b-256 e60161d0fc60a81491a882691bc958beaa7ef09053428fb95bcfa1fd1a16f8ac

See more details on using hashes here.

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