No project description provided
Project description
iOSAppInfoParser
解析 iOS APP 的信息,目前主要解析 Info.plist文件 信息;
注意:仅支持 Python3;
安装 Install
pip3 install iOSAppInfoParser
使用方法
from iosappinfoparser import InfoPlistModel
from iosappinfoparser import change_app_display_name
app_path = '/xxx/xx.app'
info_model = InfoPlistModel(app_path.joinpath("Info.plist"))
info_model.set_value('CFBundleName', 'xxx')
print(info_model.app_version) # 获取App的版本信息
info_model.app_version = "1.23" # 修改App的版本信息
# 注意:修改App的DisplayName,除了修改Info.plist文件,还要修改对应的国际化语言文件
change_app_display_name(app_path, 'new name') # 修改所有语言文件
change_app_display_name(app_path, 'new name', lang_key='en') # 仅修改英文语言文件
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
Built Distribution
File details
Details for the file iOSAppInfoParser-1.0.5.tar.gz
.
File metadata
- Download URL: iOSAppInfoParser-1.0.5.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e31019a508f3846ee73b1d5c14b1054f07fa300bf100810fe00d62a11f2f053 |
|
MD5 | e94f754e91c0fe1966c085a7cb3d0e8e |
|
BLAKE2b-256 | e26a4f35cc5061d7114d9253ee32fc912ff25fff7e9e1c1dfdf6cc43ec8e530d |
File details
Details for the file iOSAppInfoParser-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: iOSAppInfoParser-1.0.5-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fe2f589acd52a3feefd37c1975a56350de956baa2102161cfaf63fac1106bba |
|
MD5 | a070e3e8190a7cb84c4c229047258477 |
|
BLAKE2b-256 | 61895b88e8bfc902934a10b47b1e4acc42aa439cc73e45436beefbeb0cbc35e3 |