Skip to main content

A tool for dealing with provisioning profiles

Project description

protool

PyPi Version License

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

protool-3.0.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

protool-3.0.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file protool-3.0.0.tar.gz.

File metadata

  • Download URL: protool-3.0.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.12 Darwin/25.2.0

File hashes

Hashes for protool-3.0.0.tar.gz
Algorithm Hash digest
SHA256 55c257b1547847ca257befc2992d5f3ed006f3a8215756b8834b3f10b8bb32ae
MD5 6199ca5b16d8a95c24fbcb83d9e03706
BLAKE2b-256 f0f51fb637e6d42fa42933854d05aea774d1fa8738238672417370e7f9b7f64b

See more details on using hashes here.

File details

Details for the file protool-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: protool-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.12 Darwin/25.2.0

File hashes

Hashes for protool-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 adfec8761e02300bb891a11c0bc6db36dc3cadc53ab1a98298d3757cee44b440
MD5 8c3f0086207b5a68cd07d0e73eaf1dc6
BLAKE2b-256 7d4616614b3e9058e968026d38e7a809374c525800719bafad6e37b9ee791db8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page