Python bindings for the C2PA Content Authenticity Initiative (CAI) library (v0.32.6, pre-1.0, monthly releases). Provides signing and verification of C2PA manifests for media provenance.
pip install c2pa-pythonNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Verify C2PA manifest from file, then create and sign a new manifest using environment variables for credentials.
Use `SignerInfo.from_settings({'alg': 'es256', 'private_key': '...', 'sign_cert': '...'})`.Replace `Reader.from_buffer(data)` with `Reader.from_bytes(data)`.
Include the full certificate chain in the `sign_cert` value (PEM).
Provide the full cert chain in `sign_cert` and ensure the private key matches the leaf certificate.
Run `pip install c2pa-python` and verify Python version >=3.10.
Use `Reader.from_file('image.jpg')` with a string file path.No dependency data recorded yet.