src/pqc_content_provenance/__init__.py
1.3 KB · 44 lines · python Raw
1 """PQC Signed AI Content Provenance -- C2PA-compatible manifests with ML-DSA."""
2
3 from pqc_content_provenance.assertions.ai_generated import AIGeneratedAssertion
4 from pqc_content_provenance.assertions.base import Assertion
5 from pqc_content_provenance.assertions.training import TrainingAssertion
6 from pqc_content_provenance.assertions.usage import UsageAssertion
7 from pqc_content_provenance.chain import ProvenanceChain, ProvenanceLink
8 from pqc_content_provenance.embed import embed_manifest, extract_manifest
9 from pqc_content_provenance.errors import (
10 ChainBrokenError,
11 InvalidManifestError,
12 ProvenanceError,
13 SignatureVerificationError,
14 UnknownAssertionError,
15 )
16 from pqc_content_provenance.manifest import (
17 ContentManifest,
18 GenerationContext,
19 ModelAttribution,
20 )
21 from pqc_content_provenance.signer import ManifestSigner, VerificationResult
22
23 __version__ = "0.1.0"
24 __all__ = [
25 "ContentManifest",
26 "ModelAttribution",
27 "GenerationContext",
28 "Assertion",
29 "TrainingAssertion",
30 "UsageAssertion",
31 "AIGeneratedAssertion",
32 "ManifestSigner",
33 "VerificationResult",
34 "ProvenanceChain",
35 "ProvenanceLink",
36 "embed_manifest",
37 "extract_manifest",
38 "ProvenanceError",
39 "InvalidManifestError",
40 "SignatureVerificationError",
41 "ChainBrokenError",
42 "UnknownAssertionError",
43 ]
44