Skip to main content

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

Metadata

Release files for pyapktool 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyapktool 0.2.1
File Size Uploaded Provenance
pyapktool-0.2.1.tar.gz 6.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyapktool 0.2.1
File Interpreter ABI Platform
pyapktool-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / pyapktool-0.2.1.tar.gz

Download URL pyapktool-0.2.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
28a661d4b31a7d4158c69b47ac42af3c25f09c4085b743f53f264ba8a4c15fa0
BLAKE2b-256 checksum
How to use checksums
87a4111cb984060a36d383d8c7cf5000ee965785baa83ed1f2d24370ed34bb71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.2

Release files / pyapktool-0.2.1-py3-none-any.whl

Download URL pyapktool-0.2.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0236815f2eb78487429dd4f0d4f3eed87855e052b5ddc57abcd6121932c9d483
BLAKE2b-256 checksum
How to use checksums
5710019d299b8733124c70b5f54516f18ddb0cc63c115bc4c3192026bcfed136
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.2

Security for pyapktool 0.2.1

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.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page