Skip to main content

fragment parser for Android

Project description

fragment parser for Android

Tested against Windows 10 / Python 3.11 / Anaconda / Windows

pip install cythonfragmentparser

Cython and a C compiler must be installed!

from cythondfprint import add_printer
from cythonfragmentparser import parse_fragments_active_screen
import shutil
add_printer(1)
adbexe = shutil.which("adb.exe")
counter=0
try:
    while True:
        df = parse_fragments_active_screen(
            serial="127.0.0.1:5585",
            adb_path=adbexe,
            number_of_max_views=1,
            screen_width=900,
            screen_height=1600,
            subproc_shell=False,
        )
        print(df)
        counter=counter+1
        print(counter)
except KeyboardInterrupt:
    pass

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

cythonfragmentparser-0.11.tar.gz (29.3 kB view hashes)

Uploaded Source

Built Distribution

cythonfragmentparser-0.11-py3-none-any.whl (29.9 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