A tool for dealing with provisioning profiles
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
pip install protool
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
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size protool-0.8.0-py3-none-any.whl (17.2 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size protool-0.8.0.tar.gz (6.5 kB)||File type Source||Python version None||Upload date||Hashes View hashes|