Skip to main content

Android Window dumper

Android window dumper cmd window dump-visible-window-views to pandas DataFrame

pip install winandrodumpi

Cython and a C compiler must be installed! The module will be compiled the first time you import it!

import pandas as pd
from cythondfprint import add_printer
from winandrodumpi import parse_window_elements
import numpy as np

add_printer(1)
allparsed = parse_window_elements(
    dump_cmd=[
        "adb",
        "-s",
        "127.0.0.1:5556",
        "shell",
        "cmd window dump-visible-window-views",
    ],
)
alldfs = []
itemindex = 0
for parsed in allparsed:
    try:
        df = pd.DataFrame.from_dict(parsed, orient="index", dtype=object)
        df2 = np.array_split(df, df.loc[~df["id"].isna()].index)
        for item in df2:
            alldfs.append(item.ffill().bfill().assign(aa_itemindex=itemindex))
            itemindex += 1
    except Exception as e:
        print(e)
df = pd.concat(alldfs, ignore_index=True)
print(df)

Metadata

Release files for winandrodumpi 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 winandrodumpi 0.10
File Size Uploaded Provenance Actions
winandrodumpi-0.10.tar.gz 23.5 kB Without provenance Details for winandrodumpi-0.10.tar.gz

Built distribution (wheel)

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

Total release size: 47.6 kB

Release files / winandrodumpi-0.10.tar.gz

Download URL winandrodumpi-0.10.tar.gz
Size 23.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6a42cd27a51aae0daa7b87dc3c3919e8e4df6c94ce4cf0c209159717ba7bcfb9
BLAKE2b-256 checksum
How to use checksums
e3f4ad30f37db6bfc9efcc010088468c3e3474b1eb31728ba766178d3de3ba84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

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

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

Security for winandrodumpi 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