pyaxmlparser

repository·master·Indexed 40 days ago

https://github.com/appknox/pyaxmlparser

A tool for parsing Android XML files and extracting metadata from APK files. Includes the apkinfo CLI for viewing package names, versioning, and signature status, as well as a Python package providing the APK class for programmatic access to APK properties.

Tokens
374
Snippets
3
Records
3
Agent score
50%

What's inside pyaxmlparser

  1. Use the pyaxmlparser Python package

    master

    You can integrate pyaxmlparser into your Python projects by using the APK class. Initialize the class with the path to an APK file to access its properties such as package name, version details, and icon data.

    from pyaxmlparser import APK
    
    apk = APK('/foo/bar.apk')
    print(apk.package)
    print(apk.version_name)
    print(apk.version_code)
    print(apk.icon_info)
    print(apk.icon_data)
    print(apk.application)
  2. apkinfo CLI options

    master

    The apkinfo CLI tool supports the following options:

    • -s, --silent: Don't print any debug or warning logs.
    • --help: Show this message and exit.
    Usage: apkinfo [OPTIONS] FILENAME
    
    Options:
    -s, --silent  Don't print any debug or warning logs
    --help        Show this message and exit.
  3. Use the apkinfo CLI to inspect APK metadata

    master

    The apkinfo command-line tool allows you to quickly view metadata from an Android APK file, including the package name, versioning, and signature status.

    Run the command followed by the path to your APK file. Use the -s or --silent flag to suppress debug and warning logs.

    $ apkinfo ~/Downloads/com.hardcodedjoy.roboremo.15.apk