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

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

$ pyapktool myapp.apk

Pack an unpacked Android app's directory, back to an apk file, and sign it with debug keys (output will be 'myapp-signed.apk'):

$ 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.2.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyapktool-0.2.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.2.1.tar.gz
Algorithm Hash digest
SHA256 28a661d4b31a7d4158c69b47ac42af3c25f09c4085b743f53f264ba8a4c15fa0
MD5 b8bc9999d0e55625ded252bc073dfc73
BLAKE2b-256 87a4111cb984060a36d383d8c7cf5000ee965785baa83ed1f2d24370ed34bb71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyapktool-0.2.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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0236815f2eb78487429dd4f0d4f3eed87855e052b5ddc57abcd6121932c9d483
MD5 6f8a7e087921fe9d6af2dbb1cab1f474
BLAKE2b-256 5710019d299b8733124c70b5f54516f18ddb0cc63c115bc4c3192026bcfed136

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