dexparser
Powerful DEX file format parser for Pythonist!
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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dexparser-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for dexparser-1.2.0-py3-none-any.whl |
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
|
Security for dexparser 1.2.0
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.