Skip to main content

# 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](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

Metadata

Release files for protool 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for protool 0.3
File Size Uploaded Provenance Actions
protool-0.3.tar.gz 4.4 kB Without provenance Details for protool-0.3.tar.gz

Release files / protool-0.3.tar.gz

Download URL protool-0.3.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c0060c332e2446497874bff5865264a5e90b5ec1556ef253137fab289172dca5
BLAKE2b-256 checksum
How to use checksums
96d1eff0854e8dbe0d2982c9630310fc4fd12c73708fd2bc9e6f97e96b9f8559
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0

Security for protool 0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page