Skip to main content

Trufo

Open-source library to simplify interactions with the Trufo Provenance Service (TPS).

The Trufo Provenance Platform is under active 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 Engine

When using the standard C2PA Signing API, the raw digital media content is sent to the Trufo server for processing. In cases where data privacy is important or where the content file is large, a distributed API is available where most media processing is local (and signing is remote, on Trufo servers). To enable this functionality, please install the provenance extra:

pip install "trufo[provenance]"

Note: Currently, the provenance installation is only supported on Linux machines.

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
Distributed Signing C2PA & CAWG Signing API docs/quickstart/4_distributed_signing.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, regional TPS endpoints
TPS docs/api/api_c2pa.md C2PA signing endpoints and regional API selection
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)

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.5.2.tar.gz (26.5 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.5.2-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for trufo-0.5.2.tar.gz
Algorithm Hash digest
SHA256 341087f609d5ff28054b58d155cab53b2bf053b66d2f8dc1d2841b513b782240
MD5 5d4b0b2530b1a553a4078453dcc24cd1
BLAKE2b-256 ba0d27e7eea4a7c25df9fb1a2b34b3589cae2005b5619aa0b76c1e83295648e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for trufo-0.5.2.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.5.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for trufo-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fd61867b17cf908efb7c608fb44d786613f1ef9217891c3fe5ea0dcd137556ec
MD5 38fb080d969d9da9ba11674a23146745
BLAKE2b-256 d515f30d22bbe7d2bb04cf0f888e3cde5f80a0040213779959c7c096581f2179

See more details on using hashes here.

Provenance

The following attestation bundles were made for trufo-0.5.2-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.

Release history Release notifications | RSS feed

1.2.0

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

This release

0.5.2 This release

2 files

0.5.1

2 files

0.5.0

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

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