Skip to main content

Trufo SDK for content provenance API services.

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.1, this resolves to the trufo-provenance 0.1.x implementation package. The relevant first fixed build is trufo-provenance==0.1.1. 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


Download files

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

Source Distribution

trufo-0.3.1.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

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

trufo-0.3.1-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file trufo-0.3.1.tar.gz.

File metadata

  • Download URL: trufo-0.3.1.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for trufo-0.3.1.tar.gz
Algorithm Hash digest
SHA256 a7f59eeace1fda14e896633009be8cfc89605743e658ecea24f1f7abf2861f2e
MD5 7f675faf04c294ae37c29336079b63d2
BLAKE2b-256 d858bba2cb0859ab8243f5be8d6b442553510a880226cf44a0f7768df5d33eeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for trufo-0.3.1.tar.gz:

Publisher: publish.yml on trufo-ai/trufo-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file trufo-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: trufo-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for trufo-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4aa824c3e32b35055b379f7e01eba1003aedf6d3ab85e8ebb10fb9e98cd25929
MD5 69649f03190e16f2ec7d936c467e9855
BLAKE2b-256 240cc76476e1b5ccf6f795a62cae0903eb860a6c698ad3ad1fd12177e56f2406

See more details on using hashes here.

Provenance

The following attestation bundles were made for trufo-0.3.1-py3-none-any.whl:

Publisher: publish.yml on trufo-ai/trufo-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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