A tool for dealing with provisioning profiles
Project description
protool
A tool for dealing with provisioning profiles.
What can it do?
- Read profiles as XML or as a dictionary
- Read the values from the profile
- Diff two profiles to see what has changed
Installation
pip install protool
Examples:
import protool
profile = protool.ProvisioningProfile("/path/to/profile")
# Get the diff of two profiles
diff = protool.diff("/path/to/first", "/path/to/second", tool_override="diff")
# Get the UUID of a profile
print profile.uuid
# Get the full XML of the profile
print profile.xml
# Get the parsed contents of the profile as a dictionary
print profile.contents()
Alternatively, from the command line:
# Get the diff
protool diff --profiles /path/to/profile1 /path/to/profile2 --tool diff
# Get the UUID of a profile
protool read --profile /path/to/profile --key UUID
# Get the raw XML (identical to using `security cms -D -i /path/to/profile`)
protool decode --profile /path/to/profile
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
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 Distribution
Built Distribution
File details
Details for the file protool-2.0.0.tar.gz
.
File metadata
- Download URL: protool-2.0.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2818485047bfd7946230cbaa9ee89145eea6b709741cb601823a18d24b5c4fd |
|
MD5 | 2d0189b1982e4684965915caed10cb8c |
|
BLAKE2b-256 | 9168085d4d683a30c305b5b38b1eff1fd2254b5cf815f39692ab386104c29e5d |
Provenance
File details
Details for the file protool-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: protool-2.0.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05098718658b1f8a59e1bc7474a0de379187c9b3eb11849ba5d7b06b56add303 |
|
MD5 | 8aee8521c852d634e6a8d90ec1c6ee32 |
|
BLAKE2b-256 | 1f7295fd7805f046ee43ece18a239263d53b26ed8d618bb7e9038afc1a9aa3e8 |