skillfed

pyaxmlparser

Python3 Parser for Android XML file and get Application Name without using Androguard

pyaxmlparser v0.3.31 172.5K downloads/30d#10,336 on PyPI150
Permissive license Apache License 2.0 Active released

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 pyaxmlparser

uv

uv add pyaxmlparser

poetry

poetry add pyaxmlparser

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Topic :: Software Development :: Build ToolsTopic :: Software Development :: Libraries :: Python Modules

Tags

android apk parserextract apk metadataandroid package infoapk version extractionandroid manifest parserapk signing verificationandroid app analyzer
android-securityapk-analysismetadata-extraction

More Python Modules packages