Skip to main content

Unpack/Pack Android's apk and sign it. No prerequisites required.

Project description

pyapktool

pyapktool is a Python command line utility that can help speed up common actions usually performed when reverse engineering Android apps:

  • It can unpack Android app's apk file and extract all of its content (Smali code, libs, layouts XMLs etc.)
  • It can pack an unpacked Android app's directory, back to an apk file (which usually happens after you create any modification/patching to the app)
  • It can sign a packed apk(by default-with debug keys. This is a required step in order to install your modified apk to any Android device)
  • No other prerequisite libraries installation/tools are needed to use this tool. It will download/update any required tool (apktool, apk-signer) automatically if needed.

pyapktool is available on PyPI:

$ python -m pip install pyapktool

How to use

Unpacking an apk file (output will be located in a directory named 'myapp') :

$ pyapktool myapp.apk

Packing an unpacked Android app's directory, back to an apk file, and signing it with debug keys:

$ pyapktool myapp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyapktool-0.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

pyapktool-0.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file pyapktool-0.1.tar.gz.

File metadata

  • Download URL: pyapktool-0.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for pyapktool-0.1.tar.gz
Algorithm Hash digest
SHA256 790151ecf0cdbc879033372c9af56764d3b6fd2a48edcfb1c12d0f4a8480d26c
MD5 f9627f2d75da546d94e9765da9bffb38
BLAKE2b-256 19e3d737fa8a130e40d3126156f43bdd72a654bf082b42166e749c5acaf407b8

See more details on using hashes here.

File details

Details for the file pyapktool-0.1-py3-none-any.whl.

File metadata

  • Download URL: pyapktool-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for pyapktool-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b57114f8d86ad1e8c84cddad7f738d1f2ea53181bb10e0305823d2c5d05939a3
MD5 86846b19bea13a3e5b3decc89006a6b4
BLAKE2b-256 a843c9e9f88a3dc68b9af114c879dc0eb0d601f051f3fdb50ff1d64b29ecda5b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page