Skip to main content

Python3, parse ".mobileprovision" file in MacOS System;

Project description

PyMobileProvision

parse ".mobileprovision" file in MacOS System;
解析 MacOS 系统里,iOS和Mac开发常用到的".mobileprovision"文件,提取出里面的"plist"格式的内容

仅支持 Python3,Python2版本见:Py2MobileProvision

Install


pip install PyMobileProvision

Example Modules:

from mobileprovision import parser

mp_file_path = "/Users/shede333/Desktop/upload.mobileprovision"
print parser.content(mp_file_path)
print parser.plist_obj(mp_file_path)

Example CLI:

mobileprovision -h 

输出:

usage: OKEx工程里的多语言国际化相关的便捷操作 [-h] {test,import,parse,convert} ...

positional arguments:
  {test,import,parse,convert}
                        支持的命令如下:
    import              导入mobileprovision文件到系统默认路径里
    parse               解析、打印mobileprovision文件里的内容
    convert             转换mobileprovision文件为plist文件

optional arguments:
  -h, --help            show this help message and exit

待完成的功能

  • 增加pytest标准测试;
  • 增加mp等测试资源;
  • 增加CLI控制功能;

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

PyMobileProvision-1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

PyMobileProvision-1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file PyMobileProvision-1.0.tar.gz.

File metadata

  • Download URL: PyMobileProvision-1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.3

File hashes

Hashes for PyMobileProvision-1.0.tar.gz
Algorithm Hash digest
SHA256 8d1c441012cef0009dd10c15fd723ff4137a1990ca7ad1bc31a83e1421f7b1fd
MD5 7c800260307fc2e22710a19e95f83dd0
BLAKE2b-256 6a9c85bd7f80efe5bde9f6e7318759580d8e2678342a622e58a60b5efd18543a

See more details on using hashes here.

File details

Details for the file PyMobileProvision-1.0-py3-none-any.whl.

File metadata

  • Download URL: PyMobileProvision-1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.3

File hashes

Hashes for PyMobileProvision-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33576db45057dfb97c6264555ddca73c35f89a9546b1c558a3a9c04079744be0
MD5 1f22746fd28a4ae0235c05ef4c7d8236
BLAKE2b-256 400d2d91af3afa479e0c9765fb5a4d4f6aeb3dce4dbf441d3df1d53c999a4c16

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