Powerful, yet easy to use, python library for loading(and eventually writing) dex files.


Keywords
android, dalvik, dex
License
GPL-3.0
Install
pip install pydex0==1.5.1

Documentation

PyDex

Powerful, yet easy to use, python library for loading(and eventually writing) dex files.

PyPI - Version Python application Documentation Status

PyDex is a Python library for the analysis and instrumentation of Android/Dalvik bytecode. It is designed to on par with Ben Gruver's dexlib2 project. PyDex is a work in progress and is not yet ready for production use.

PyDex provides both a high-level and low-level API for interacting with Android/Dalvik bytecode. The high-level API is designed to be easy to use and abstracts away the details of the low-level API. The low-level API is designed to be more flexible and provide more control over the bytecode. The low-level API closely follows the Dalvik executable format

Installation

PyDex can be installed using pip:

    python -m pip install --user -U pydex0

Unfortunately, PyDex is named pydex0 on PyPI because the name pydex was already taken.