Skip to main content

usefuladbplus with restart

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

pip install usefuladbpluswithrestart

from usefuladbpluswithrestart import (
    AdbControlPlusWRestart,
    activate_pandas_extensions,
)
from PrettyColorPrinter import add_printer

add_printer(1)
activate_pandas_extensions(
    modules=(
        "plus_find_shapes",
        "plus_template_matching",
        "plus_color_search_c",
        "plus_color_cluster",
        "plus_count_all_colors",
        "plus_count_all_colors_coords",
        "plus_fuzzy_merge",
        "plus_tesser_act",
    )
)
adb = AdbControlPlusWRestart(
    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,
)

df = adb.plus_activity_elements_dump(
    with_screenshot=True,
    screenshot=None,
    with_sendevent=False,
)
print(df)

df1 = adb.plus_uidump(
    timeout=60,
    with_screenshot=True,
    screenshot=None,
    nice=False,
    su=False,
    with_sendevent=False,
)
print(df1)

Metadata

Release files for usefuladbpluswithrestart 0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for usefuladbpluswithrestart 0.10
File Size Uploaded Provenance Actions
usefuladbpluswithrestart-0.10.tar.gz 4.1 kB Without provenance Details for usefuladbpluswithrestart-0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for usefuladbpluswithrestart 0.10
File Interpreter ABI Platform Actions
usefuladbpluswithrestart-0.10-py3-none-any.whl Python 3 none any Details for usefuladbpluswithrestart-0.10-py3-none-any.whl

Total release size: 9.9 kB

Release files / usefuladbpluswithrestart-0.10.tar.gz

Download URL usefuladbpluswithrestart-0.10.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7de1534eb60ecf8bac98378afe142d988dde503ab2321c358be5f046cb9a774e
BLAKE2b-256 checksum
How to use checksums
84e99f37abff22830c781272bdc06e682c1870a20610e44f73e3844ff08bde06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / usefuladbpluswithrestart-0.10-py3-none-any.whl

Download URL usefuladbpluswithrestart-0.10-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0790a14b0a47672b238bbc210cf9ab99b81d2c83a8749b0431f1278ef937475f
BLAKE2b-256 checksum
How to use checksums
d4c7d264d14d7f37f83d6c627f8e8a832c456ed58f8483d73bf06dfb9db9c18a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Security for usefuladbpluswithrestart 0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page