Skip to main content
# -------------------------------------------------------------------
# AndroidXMLParser was created by Anthony Desnos and is taken from
# the Androguard Project.
# -------------------------------------------------------------------
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.
# If not, see <http://www.gnu.org/licenses/>.
# -------------------------------------------------------------------
# Contributors:
# -------------------------------------------------------------------
# Anthony Desnos <anthony [dot] desnos [at] gmail.com>
# Antitree <antitree [at] gmail.com>
# pee <pee@erkkila.org> spam this
# algorythm <algorythm [at] gmail /dot/ com>
# Jiejing Zhang <kzjeef [at] gmail /dot/ com> // for package to pip
# -------------------------------------------------------------------
# version: 0.0.1
# -------------------------------------------------------------------

Example:

1. convert apk binary manifest to string manifest.

import axmlparserpy.axmlprinter as axmlprinter

ap = axmlprinter.AXMLPrinter(open('example/binary/AndroidManifest.xml', 'rb').read())
buff = minidom.parseString(ap.getBuff()).toxml()
print(buff)

2. get apk information
import axmlparserpy.apk as apk
ap = apk.APK('_PATH_TO_APK')
print ap.get_package()
print ap.get_androidversion_name()

Metadata

Release files for AxmlParserPY 0.01

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AxmlParserPY 0.01
File Size Uploaded Provenance Actions
AxmlParserPY-0.01.tar.gz 8.4 kB Without provenance Details for AxmlParserPY-0.01.tar.gz

Release files / AxmlParserPY-0.01.tar.gz

Download URL AxmlParserPY-0.01.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
501821d2eebe6116df98750f1067b773860159f13bbb311f46e6e862eabd7584
BLAKE2b-256 checksum
How to use checksums
fb5c2e5a89fda7c21b71913ba554c775f9d1a545b14d7343eabbfdb909080171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for AxmlParserPY 0.01

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.

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