swarmauri_xmp_webp 0.1.2.dev2__tar.gz → 0.11.0.dev1__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.
- {swarmauri_xmp_webp-0.1.2.dev2 → swarmauri_xmp_webp-0.11.0.dev1}/PKG-INFO +11 -9
- {swarmauri_xmp_webp-0.1.2.dev2 → swarmauri_xmp_webp-0.11.0.dev1}/README.md +10 -8
- {swarmauri_xmp_webp-0.1.2.dev2 → swarmauri_xmp_webp-0.11.0.dev1}/pyproject.toml +1 -1
- {swarmauri_xmp_webp-0.1.2.dev2 → swarmauri_xmp_webp-0.11.0.dev1}/swarmauri_xmp_webp/__init__.py +3 -1
- {swarmauri_xmp_webp-0.1.2.dev2 → swarmauri_xmp_webp-0.11.0.dev1}/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: swarmauri_xmp_webp
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.0.dev1
|
|
4
4
|
Summary: WebP handler scaffold for embedding and extracting XMP packets in Swarmauri runtimes.
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
License-File: LICENSE
|
|
@@ -37,8 +37,8 @@ Description-Content-Type: text/markdown
|
|
|
37
37
|
<img src="https://img.shields.io/pypi/l/swarmauri_xmp_webp" alt="PyPI - License"/></a>
|
|
38
38
|
<a href="https://pypi.org/project/swarmauri_xmp_webp/">
|
|
39
39
|
<img src="https://img.shields.io/pypi/v/swarmauri_xmp_webp?label=swarmauri_xmp_webp&color=green" alt="PyPI - swarmauri_xmp_webp"/></a>
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
<a href="https://discord.gg/N4UpBuQv8T">
|
|
41
|
+
<img src="https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white" alt="Discord"/></a></p>
|
|
42
42
|
|
|
43
43
|
# swarmauri_xmp_webp
|
|
44
44
|
|
|
@@ -46,9 +46,9 @@ Description-Content-Type: text/markdown
|
|
|
46
46
|
|
|
47
47
|
## Features
|
|
48
48
|
|
|
49
|
-
- **Forward compatible**
|
|
50
|
-
- **Registry aligned**
|
|
51
|
-
- **Clear contracts**
|
|
49
|
+
- **Forward compatible** ? establishes class signatures today so future implementations slot straight into existing workflows.
|
|
50
|
+
- **Registry aligned** ? inherits from `EmbedXmpBase`, enabling automatic discovery through Swarmauri's dynamic registry.
|
|
51
|
+
- **Clear contracts** ? raises `NotImplementedError` for read/write/remove until the RIFF logic is complete.
|
|
52
52
|
|
|
53
53
|
## Installation
|
|
54
54
|
|
|
@@ -76,12 +76,14 @@ except NotImplementedError:
|
|
|
76
76
|
|
|
77
77
|
### Why it works
|
|
78
78
|
|
|
79
|
-
- **Forward compatible**
|
|
80
|
-
- **Registry alignment**
|
|
81
|
-
- **Clear contracts**
|
|
79
|
+
- **Forward compatible** ? declaring the handler today reserves the RIFF chunk namespace for future work.
|
|
80
|
+
- **Registry alignment** ? subclassing `EmbedXmpBase` means discovery logic will work without code changes once implemented.
|
|
81
|
+
- **Clear contracts** ? explicit `NotImplementedError` exceptions communicate the remaining work to contributors.
|
|
82
82
|
|
|
83
83
|
## Project Resources
|
|
84
84
|
|
|
85
85
|
- Source: <https://github.com/swarmauri/swarmauri-sdk>
|
|
86
86
|
- License: Apache 2.0
|
|
87
87
|
|
|
88
|
+
|
|
89
|
+
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
<img src="https://img.shields.io/pypi/l/swarmauri_xmp_webp" alt="PyPI - License"/></a>
|
|
12
12
|
<a href="https://pypi.org/project/swarmauri_xmp_webp/">
|
|
13
13
|
<img src="https://img.shields.io/pypi/v/swarmauri_xmp_webp?label=swarmauri_xmp_webp&color=green" alt="PyPI - swarmauri_xmp_webp"/></a>
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
<a href="https://discord.gg/N4UpBuQv8T">
|
|
15
|
+
<img src="https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white" alt="Discord"/></a></p>
|
|
16
16
|
|
|
17
17
|
# swarmauri_xmp_webp
|
|
18
18
|
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
|
|
21
21
|
## Features
|
|
22
22
|
|
|
23
|
-
- **Forward compatible**
|
|
24
|
-
- **Registry aligned**
|
|
25
|
-
- **Clear contracts**
|
|
23
|
+
- **Forward compatible** ? establishes class signatures today so future implementations slot straight into existing workflows.
|
|
24
|
+
- **Registry aligned** ? inherits from `EmbedXmpBase`, enabling automatic discovery through Swarmauri's dynamic registry.
|
|
25
|
+
- **Clear contracts** ? raises `NotImplementedError` for read/write/remove until the RIFF logic is complete.
|
|
26
26
|
|
|
27
27
|
## Installation
|
|
28
28
|
|
|
@@ -50,11 +50,13 @@ except NotImplementedError:
|
|
|
50
50
|
|
|
51
51
|
### Why it works
|
|
52
52
|
|
|
53
|
-
- **Forward compatible**
|
|
54
|
-
- **Registry alignment**
|
|
55
|
-
- **Clear contracts**
|
|
53
|
+
- **Forward compatible** ? declaring the handler today reserves the RIFF chunk namespace for future work.
|
|
54
|
+
- **Registry alignment** ? subclassing `EmbedXmpBase` means discovery logic will work without code changes once implemented.
|
|
55
|
+
- **Clear contracts** ? explicit `NotImplementedError` exceptions communicate the remaining work to contributors.
|
|
56
56
|
|
|
57
57
|
## Project Resources
|
|
58
58
|
|
|
59
59
|
- Source: <https://github.com/swarmauri/swarmauri-sdk>
|
|
60
60
|
- License: Apache 2.0
|
|
61
|
+
|
|
62
|
+
|
{swarmauri_xmp_webp-0.1.2.dev2 → swarmauri_xmp_webp-0.11.0.dev1}/swarmauri_xmp_webp/__init__.py
RENAMED
|
@@ -22,7 +22,9 @@ class WebPXMP(EmbedXmpBase):
|
|
|
22
22
|
if data[8:12] != self.FORMAT:
|
|
23
23
|
raise ValueError("RIFF container is not WebP formatted")
|
|
24
24
|
|
|
25
|
-
def _iter_chunks(
|
|
25
|
+
def _iter_chunks(
|
|
26
|
+
self, data: bytes
|
|
27
|
+
) -> Iterator[Tuple[int, bytes, int, int]]:
|
|
26
28
|
self._validate(data)
|
|
27
29
|
pos = 12
|
|
28
30
|
end = len(data)
|
|
File without changes
|