c2pa-python 0.28.0__tar.gz → 0.30.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {c2pa_python-0.28.0/src/c2pa_python.egg-info → c2pa_python-0.30.0}/PKG-INFO +20 -2
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/README.md +19 -1
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/pyproject.toml +1 -1
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/src/c2pa/__init__.py +12 -0
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/src/c2pa/c2pa.py +1812 -1009
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/src/c2pa/lib.py +1 -1
- {c2pa_python-0.28.0 → c2pa_python-0.30.0/src/c2pa_python.egg-info}/PKG-INFO +20 -2
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/tests/test_unit_tests.py +2814 -274
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/tests/test_unit_tests_threaded.py +1028 -264
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/LICENSE-APACHE +0 -0
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/LICENSE-MIT +0 -0
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/MANIFEST.in +0 -0
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/requirements.txt +0 -0
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/scripts/download_artifacts.py +0 -0
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/setup.cfg +0 -0
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/setup.py +0 -0
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/src/c2pa/build.py +0 -0
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/src/c2pa_python.egg-info/SOURCES.txt +0 -0
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/src/c2pa_python.egg-info/dependency_links.txt +0 -0
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/src/c2pa_python.egg-info/entry_points.txt +0 -0
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/src/c2pa_python.egg-info/requires.txt +0 -0
- {c2pa_python-0.28.0 → c2pa_python-0.30.0}/src/c2pa_python.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: c2pa-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.30.0
|
|
4
4
|
Summary: Python bindings for the C2PA Content Authenticity Initiative (CAI) library
|
|
5
5
|
Author-email: Gavin Peacock <gvnpeacock@adobe.com>, Tania Mathern <mathern@adobe.com>
|
|
6
6
|
Maintainer-email: Gavin Peacock <gpeacock@adobe.com>
|
|
@@ -35,6 +35,22 @@ Features:
|
|
|
35
35
|
- Add assertions and ingredients to assets.
|
|
36
36
|
- Examples and unit tests to demonstrate usage.
|
|
37
37
|
|
|
38
|
+
<div style={{display: 'none'}}>
|
|
39
|
+
|
|
40
|
+
For the best experience, read the docs on the [CAI Open Source SDK documentation website](https://opensource.contentauthenticity.org/docs/c2pa-c).
|
|
41
|
+
|
|
42
|
+
If you want to view the documentation in GitHub, see:
|
|
43
|
+
- [Using the Python library](docs/usage.md)
|
|
44
|
+
- [Supported formats](https://github.com/contentauth/c2pa-rs/blob/main/docs/supported-formats.md)
|
|
45
|
+
- [Configuring the SDK using `Context` and `Settings`](docs/context-settings.md)
|
|
46
|
+
- [Using Builder intents](docs/intents.md) to ensure spec-compliant manifests
|
|
47
|
+
- Using [working stores and archvies](docs/working-stores.md)
|
|
48
|
+
- Selectively constructing manifests by [filtering actions and ingredients](docs/selective-manifests.md)
|
|
49
|
+
- [Diagram of public classes in the Python library and their relationships](docs/class-diagram.md)
|
|
50
|
+
- [Release notes](docs/release-notes.md)
|
|
51
|
+
|
|
52
|
+
</div>
|
|
53
|
+
|
|
38
54
|
## Prerequisites
|
|
39
55
|
|
|
40
56
|
This library requires Python version 3.10+.
|
|
@@ -63,7 +79,9 @@ See the [`examples` directory](https://github.com/contentauth/c2pa-python/tree/m
|
|
|
63
79
|
|
|
64
80
|
## API reference documentation
|
|
65
81
|
|
|
66
|
-
|
|
82
|
+
Documentation is published at [github.io/c2pa-python/api/c2pa](https://contentauth.github.io/c2pa-python/api/c2pa/index.html).
|
|
83
|
+
|
|
84
|
+
To build documentation locally, refer to [this section in Contributing to the project](https://github.com/contentauth/c2pa-python/blob/main/docs/project-contributions.md#api-reference-documentation).
|
|
67
85
|
|
|
68
86
|
## Contributing
|
|
69
87
|
|
|
@@ -12,6 +12,22 @@ Features:
|
|
|
12
12
|
- Add assertions and ingredients to assets.
|
|
13
13
|
- Examples and unit tests to demonstrate usage.
|
|
14
14
|
|
|
15
|
+
<div style={{display: 'none'}}>
|
|
16
|
+
|
|
17
|
+
For the best experience, read the docs on the [CAI Open Source SDK documentation website](https://opensource.contentauthenticity.org/docs/c2pa-c).
|
|
18
|
+
|
|
19
|
+
If you want to view the documentation in GitHub, see:
|
|
20
|
+
- [Using the Python library](docs/usage.md)
|
|
21
|
+
- [Supported formats](https://github.com/contentauth/c2pa-rs/blob/main/docs/supported-formats.md)
|
|
22
|
+
- [Configuring the SDK using `Context` and `Settings`](docs/context-settings.md)
|
|
23
|
+
- [Using Builder intents](docs/intents.md) to ensure spec-compliant manifests
|
|
24
|
+
- Using [working stores and archvies](docs/working-stores.md)
|
|
25
|
+
- Selectively constructing manifests by [filtering actions and ingredients](docs/selective-manifests.md)
|
|
26
|
+
- [Diagram of public classes in the Python library and their relationships](docs/class-diagram.md)
|
|
27
|
+
- [Release notes](docs/release-notes.md)
|
|
28
|
+
|
|
29
|
+
</div>
|
|
30
|
+
|
|
15
31
|
## Prerequisites
|
|
16
32
|
|
|
17
33
|
This library requires Python version 3.10+.
|
|
@@ -40,7 +56,9 @@ See the [`examples` directory](https://github.com/contentauth/c2pa-python/tree/m
|
|
|
40
56
|
|
|
41
57
|
## API reference documentation
|
|
42
58
|
|
|
43
|
-
|
|
59
|
+
Documentation is published at [github.io/c2pa-python/api/c2pa](https://contentauth.github.io/c2pa-python/api/c2pa/index.html).
|
|
60
|
+
|
|
61
|
+
To build documentation locally, refer to [this section in Contributing to the project](https://github.com/contentauth/c2pa-python/blob/main/docs/project-contributions.md#api-reference-documentation).
|
|
44
62
|
|
|
45
63
|
## Contributing
|
|
46
64
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "c2pa-python"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.30.0"
|
|
8
8
|
requires-python = ">=3.10"
|
|
9
9
|
description = "Python bindings for the C2PA Content Authenticity Initiative (CAI) library"
|
|
10
10
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
@@ -22,9 +22,15 @@ from .c2pa import (
|
|
|
22
22
|
C2paError,
|
|
23
23
|
Reader,
|
|
24
24
|
C2paSigningAlg,
|
|
25
|
+
C2paDigitalSourceType,
|
|
26
|
+
C2paBuilderIntent,
|
|
25
27
|
C2paSignerInfo,
|
|
26
28
|
Signer,
|
|
27
29
|
Stream,
|
|
30
|
+
Settings,
|
|
31
|
+
Context,
|
|
32
|
+
ContextBuilder,
|
|
33
|
+
ContextProvider,
|
|
28
34
|
sdk_version,
|
|
29
35
|
read_ingredient_file,
|
|
30
36
|
load_settings
|
|
@@ -36,9 +42,15 @@ __all__ = [
|
|
|
36
42
|
'C2paError',
|
|
37
43
|
'Reader',
|
|
38
44
|
'C2paSigningAlg',
|
|
45
|
+
'C2paDigitalSourceType',
|
|
46
|
+
'C2paBuilderIntent',
|
|
39
47
|
'C2paSignerInfo',
|
|
40
48
|
'Signer',
|
|
41
49
|
'Stream',
|
|
50
|
+
'Settings',
|
|
51
|
+
'Context',
|
|
52
|
+
'ContextBuilder',
|
|
53
|
+
'ContextProvider',
|
|
42
54
|
'sdk_version',
|
|
43
55
|
'read_ingredient_file',
|
|
44
56
|
'load_settings'
|