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
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
Built Distribution
Close
Hashes for usefuladbwithrestart-0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac30087b84167c42b6004d8a1de1a392759110f91df97b027e214e5ed1003977 |
|
MD5 | ba70b33654a212ec0d7a5f30a1dca6b2 |
|
BLAKE2b-256 | eda06eb7d5058c4e3e635478052583e44f4a144fe70e5de952af9e322f1c499a |
Close
Hashes for usefuladbwithrestart-0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d43016ef9835249107836a21a946ff3db3d6506ad897693507f883c3478d038 |
|
MD5 | 0a9334d561dd0f517586dd64999bc4c0 |
|
BLAKE2b-256 | e60161d0fc60a81491a882691bc958beaa7ef09053428fb95bcfa1fd1a16f8ac |