一个APK解析库
Project description
apkutils
介绍
一个用于解析APK、Dex、AXML、ARSC、ELF的库。
安装教程
❯ pip install apkutils
❯ apkutils
Usage: apkutils [OPTIONS] COMMAND [ARGS]...
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
arsc 打印arsc
certs 打印证书
files 打印文件
manifest 打印清单
mtds 获取指定方法中的所有字符串
strings 打印Dex中的字符串
unzip 解压文件,默认显示zip文件
xref 获取方法的引用方法
用法
from apkutils import APK
# NOTE: 获取清单、arsc、应用名、图标,必须要使用 parse_resource
apk = APK.from_file(file_path).parse_resource()
manifest = apk.get_manifest()
apk.close()
# or
with APK.from_file(file_path) as apk:
apk.get_manifest()
请参考 examples 目录。
备注
从 1.3.0 开始,默认不解析清单、不解析图标、不解析Dex,而是按需解析。
感谢
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
apkutils-2.0.5-py3-none-any.whl
(492.7 kB
view details)
File details
Details for the file apkutils-2.0.5-py3-none-any.whl.
File metadata
- Download URL: apkutils-2.0.5-py3-none-any.whl
- Upload date:
- Size: 492.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":"20250608.0.361578","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcdd90c99491274ee422c256a968737642967d03b44c478af25f6736d30283fa
|
|
| MD5 |
2cffcf6a37e94b84103e90c76c1e33ee
|
|
| BLAKE2b-256 |
eb2b84c78b05bfa9d8d24c345e9a6c0cd5043ec186d866cb6184ad4069c1e8d0
|