Trufo SDK for content provenance API services.
Reason this release was yanked:
Remote C2PA signing workflow requires trufo-provenance 0.1.1 or newer.
Project description
Trufo
Open-source library to simplify interactions with the Trufo Provenance Service (TPS).
The library is currently in an alpha release state. Please be advised that until the library enters a beta release state, there may be drift in the library schema.
The Trufo Provenance Platform is under active beta development, with new provenance features and product workflows being added regularly. If you are building against the platform and have questions about the right integration path, please contact support@trufo.ai. We are happy to help.
Optional Provenance Support
Install C2PA/provenance support with the provenance extra:
pip install "trufo[provenance]"
For trufo version 0.3.0, this resolves to the trufo-provenance 0.1.x
implementation package. The relevant first build is trufo-provenance==0.1.0.
That build bundles the native C2PA bridge for Linux only; macOS and Windows
wheels are not published yet.
Workflow Examples (Quickstart)
There are a number of documents to get you started quickly with specific use cases:
| Use case | Trufo Product | Quickstart |
|---|---|---|
| Auth Setup | — | docs/quickstart/0_auth.md |
| C2PA Signing Certificate CSRs | C2PA Signing Certificates | docs/quickstart/1_c2pa_cert.md |
| AI Labeling | C2PA & CAWG Signing API | docs/quickstart/2_ai_labeling.md |
| Organization Stamping & Assertions | C2PA & CAWG Signing API | docs/quickstart/3_cawg_publish.md |
Reference Documentation
The full reference documentation is spread across the following files:
| Service | Document | Description |
|---|---|---|
| Auth | docs/api/api_auth.md | Headers, access tokens, sessions |
| TPS | docs/api/api_c2pa.md | C2PA signing endpoints |
| TCA | docs/api/tca_ca.md | Certificate Authority — enrollment, revocation, timestamping |
| TCA | docs/api/tca_ra.md | Registration Authority — instances, credentials, CSR JWTs |
| CLI | docs/cli.md | Credential management (dev tool; use the Python API in prod) |
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trufo-0.3.0.tar.gz.
File metadata
- Download URL: trufo-0.3.0.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b910e1e3453e185b759d494dcc9c82da98a064f4232d7ac7a481fdf16de36965
|
|
| MD5 |
22d65e86e6a93534dae157202aedbd97
|
|
| BLAKE2b-256 |
03df5586fb6b7a003f93609db5f0e9b83596ae078796a612eb1b35b265bb1fca
|
Provenance
The following attestation bundles were made for trufo-0.3.0.tar.gz:
Publisher:
publish.yml on trufo-ai/trufo-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trufo-0.3.0.tar.gz -
Subject digest:
b910e1e3453e185b759d494dcc9c82da98a064f4232d7ac7a481fdf16de36965 - Sigstore transparency entry: 1588322346
- Sigstore integration time:
-
Permalink:
trufo-ai/trufo-py@30daf0879a4579d0c0a343b25cf10bda3878ac93 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/trufo-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@30daf0879a4579d0c0a343b25cf10bda3878ac93 -
Trigger Event:
release
-
Statement type:
File details
Details for the file trufo-0.3.0-py3-none-any.whl.
File metadata
- Download URL: trufo-0.3.0-py3-none-any.whl
- Upload date:
- Size: 31.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdf31f44915e1ced14cf993f04d1b5977ce1fd96d8f53d9b32a6b11159f9dc8e
|
|
| MD5 |
b82b0a21039093b8f5515d5be49662d2
|
|
| BLAKE2b-256 |
a97c5dff6a22d85f32d5d93c56ee081aaf16d9a98bfa3f2cb572377bbd3e0343
|
Provenance
The following attestation bundles were made for trufo-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on trufo-ai/trufo-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trufo-0.3.0-py3-none-any.whl -
Subject digest:
cdf31f44915e1ced14cf993f04d1b5977ce1fd96d8f53d9b32a6b11159f9dc8e - Sigstore transparency entry: 1588322398
- Sigstore integration time:
-
Permalink:
trufo-ai/trufo-py@30daf0879a4579d0c0a343b25cf10bda3878ac93 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/trufo-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@30daf0879a4579d0c0a343b25cf10bda3878ac93 -
Trigger Event:
release
-
Statement type: