Powerful DEX file format parser for Pythonist!
See the docs for detail descriptions.
- Python 3.x (Unofficially, dexparser support Python 2.x)
- DEX friendly mind
pip install dexparser
from dexparser import DEXParser
filedir = '/path/to/classes.dex'
dex = DEXParser(filedir=filedir)
from dexparser import DEXParser
with open('classes.dex', 'rb') as fileobj:
dex = DEXParser(fileobj=fileobj.read())
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())
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())
This project is licensed under the MIT License