pyaxmlparser
Python3 Parser for Android XML file and get Application Name without using Androguard
What it is and what it does
pyaxmlparser is a lightweight Python library for reading Android APK files and extracting their metadata without the overhead of Androguard. It parses the binary XML format used in Android manifests and resources, exposing properties like package name, version strings, version codes, signing details (v1/v2/v3 signatures), and application icon information through both a Python API and a command-line tool.
The package is built on lxml for XML parsing, click for CLI scaffolding, and asn1crypto for certificate inspection. It's intended for developers who need quick APK introspection—security analysis, app metadata extraction, or build tooling—without pulling in a full Android analysis framework. The CLI tool (apkinfo) provides immediate access to key metadata; the Python API lets you integrate parsing into larger workflows.
Use it for:
- Extract package name and version from an APK during automated app distribution or CI/CD pipelines
- Verify APK signing certificates and signature scheme versions (v1/v2/v3) for security compliance checks
- Retrieve application icon and metadata for app store or inventory management systems
- Analyze APK files in security scanning tools without depending on the full Androguard library
- Build custom Android app analysis scripts that need lightweight, fast metadata extraction
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Parses Android APK files to extract metadata like package name, version, signing information, and application details without requiring Androguard.
Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a specific problem (APK metadata extraction) cleanly. Use it if you need to parse APK files in Python without Androguard's overhead. Verify Python version compatibility with your target environment, as the requires_python field is unspecified.
Install
pyaxmlparser on PyPI
pip
pip install pyaxmlparseruv
uv add pyaxmlparserpoetry
poetry add pyaxmlparserInstalling pyaxmlparser
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with recent commits; last update was 2026-04-21. Relies on three lightweight runtime dependencies: lxml, click, and asn1crypto.
License in practice
Licensed under Apache License 2.0 (permissive). You can use, modify, and distribute this package freely in commercial and private projects, provided you include a copy of the license and note any significant changes.
Quickstart
pip install pyaxmlparser
from pyaxmlparser import APK
apk = APK('/path/to/app.apk')
print(apk.package)
print(apk.version_name)
print(apk.version_code)
Verify before relying
- Whether the package works with Python versions beyond 3.5, given that requires_python is unspecified and classifiers list only up to 3.5
- Whether icon_data extraction returns raw bytes or a processed format
- Performance characteristics when parsing large or complex APK files
Package facts
| License | Apache License 2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — lxml, click, asn1crypto |
| Maintenance | actively maintained — 877 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 172,466/month — #10,336 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyaxmlparser-0.3.31-py3-none-any.whl
Keywords: appknox, axmlparser, arscparser, android
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
androguardAndroguard is a Python tool for analyzing,…
permissive · top 5,000 on PyPI
apkInspectorParses APK files according to the zip…
permissive · top 5,000 on PyPI
apkutils2Parses Android APK files to extract and display…
permissive · top 15,000 on PyPI
ipsw-parserParses and extracts data from iOS IPSW firmware…
copyleft · top 15,000 on PyPI
pyimg4PyIMG4 parses Apple's Image4 format through a…
permissive · top 15,000 on PyPI
pure-python-adbPure-Python ADB client that communicates with…
permissive · top 15,000 on PyPI
version-parserParses version strings in multiple formats…
permissive · top 15,000 on PyPI
uiautomator2Automates Android device interactions from…
permissive · top 15,000 on PyPI
biocReads and writes biomedical text annotation…
permissive · top 15,000 on PyPI
uiautomatorPython wrapper for Android's uiautomator…
permissive · top 15,000 on PyPI