Skip to main content

dexparser

Powerful DEX file format parser for Pythonist!

Build Status PyPI version Documentation Status Hits

Usage

See the docs for detail descriptions.

Pre-requirements

  • Python 3.x (Unofficially, dexparser support Python 2.x)
  • DEX friendly mind

Install

pip install dexparser

Load DEX from filename

from dexparser import DEXParser

filedir = '/path/to/classes.dex'
dex = DEXParser(filedir=filedir)

Load DEX file from object

from dexparser import DEXParser

with open('classes.dex', 'rb') as fileobj:
    dex = DEXParser(fileobj=fileobj.read())

Load APK file from object and filename

from dexparser import APKParser

filedir = '/path/to/test.apk'
apk = APKParser(filedir=filedir)

with open('/path/to/test.apk', 'rb') as fileobj:
    apk = APKParser(fileobj=fileobj.read())

Load AAB file from object and filename

from dexparser import AABParser

filedir = '/path/to/test.apk'
aab = AABParser(filedir=filedir)

with open('/path/to/test.apk', 'rb') as fileobj:
    aab = AABParser(fileobj=fileobj.read())

License

This project is licensed under the MIT License

Reference

Metadata

Release files for dexparser 1.2.0

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

Built distribution (wheel)

Table of built distributions (wheels) for dexparser 1.2.0
File Interpreter ABI Platform
dexparser-1.2.0-py3-none-any.whl Python 3 none any Details

Release files / dexparser-1.2.0-py3-none-any.whl

Download URL dexparser-1.2.0-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87c48dd05779571acc5d5feb915f4d46447a8c22d1cb283cda8ba48a106aebfc
BLAKE2b-256 checksum
How to use checksums
5f0cab784c503d907f88c97f31e418879d0a64ccc21bc333d4bdfa3b1dab64cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release history Release notifications | RSS feed

This release

1.2.0 This release

1 release file

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

0.0.1

1 release file

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