dex
dexparser
pypi i dexparser
dex

dexparser

DEX file format parser for Pythonist

by Kim Namjun

1.1.1 (see all)
pypi i dexparser
Readme

dexparser

Powerful DEX file format parser for Pythonist!

Build Status PyPI version Documentation Status

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)

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)

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)

License

This project is licensed under the MIT License

Reference

GitHub Stars

32

LAST COMMIT

1yr ago

MAINTAINERS

1

CONTRIBUTORS

4

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
1.1.1
1yr ago
1.1.0
1yr ago
1.0.4
1yr ago
1.0.3
1yr ago
No alternatives found
No tutorials found
Add a tutorial