https://github.com/appknox/pyaxmlparser
Python3 Parser for Android XML file and get Application Name without using Androguard
https://github.com/appknox/pyaxmlparser
android apk-parser python3
Last synced: about 1 year ago
JSON representation
Python3 Parser for Android XML file and get Application Name without using Androguard
- Host: GitHub
- URL: https://github.com/appknox/pyaxmlparser
- Owner: appknox
- License: apache-2.0
- Created: 2017-03-17T17:02:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-05-05T03:50:39.000Z (about 1 year ago)
- Last Synced: 2025-05-05T04:32:54.151Z (about 1 year ago)
- Topics: android, apk-parser, python3
- Language: Python
- Homepage:
- Size: 511 KB
- Stars: 140
- Watchers: 16
- Forks: 43
- Open Issues: 11
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
axmlparser
===========
A simple parser to parse Android XML file.
Usage
======
.. code-block:: shell
➜ apkinfo --help
Usage: apkinfo [OPTIONS] FILENAME
Options:
-s, --silent Don't print any debug or warning logs
--help Show this message and exit.
CLI :
====
.. code-block:: shell
$ apkinfo ~/Downloads/com.hardcodedjoy.roboremo.15.apk
APK: /home/chillaranand/Downloads/com.hardcodedjoy.roboremo.15.apk
App name: RoboRemo
Package: com.hardcodedjoy.roboremo
Version name: 2.0.0
Version code: 15
Is it Signed: True
Is it Signed with v1 Signatures: True
Is it Signed with v2 Signatures: True
Is it Signed with v3 Signatures: False
Python package :
================
.. code-block:: python
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)