WebP handler scaffold for embedding and extracting XMP packets in Swarmauri runtimes.
Project description
swarmauri_xmp_webp
swarmauri_xmp_webp declares the WebPXMP handler scaffold for RIFF/WEBP containers and prepares the dynamic registry for a full implementation.
Features
- Forward compatible – establishes class signatures today so future implementations slot straight into existing workflows.
- Registry aligned – inherits from
EmbedXmpBase, enabling automatic discovery through Swarmauri's dynamic registry. - Clear contracts – raises
NotImplementedErrorfor read/write/remove until the RIFF logic is complete.
Installation
# pip
pip install swarmauri_xmp_webp
# uv
uv add swarmauri_xmp_webp
Usage
from swarmauri_xmp_webp import WebPXMP
handler = WebPXMP()
# Raises NotImplementedError until read/write/remove are implemented
try:
handler.read_xmp(b"RIFF....WEBP")
except NotImplementedError:
print("WebP XMP support is forthcoming.")
Why it works
- Forward compatible – declaring the handler today reserves the RIFF chunk namespace for future work.
- Registry alignment – subclassing
EmbedXmpBasemeans discovery logic will work without code changes once implemented. - Clear contracts – explicit
NotImplementedErrorexceptions communicate the remaining work to contributors.
Project Resources
- Source: https://github.com/swarmauri/swarmauri-sdk
- License: Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmauri_xmp_webp-0.1.1.dev40.tar.gz.
File metadata
- Download URL: swarmauri_xmp_webp-0.1.1.dev40.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d795c2979733ea9171f66d986a13a5f8724c923923706589da569048131ae859
|
|
| MD5 |
b5962f9c3b377ffecd8889c1867429c8
|
|
| BLAKE2b-256 |
f35327fe16d8f4a1b3ebd0451627e76f480e9e1e1b0ef64e15c4063c810b38a1
|
File details
Details for the file swarmauri_xmp_webp-0.1.1.dev40-py3-none-any.whl.
File metadata
- Download URL: swarmauri_xmp_webp-0.1.1.dev40-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a83970c5d8e85299d61827cb4228659e4914c3aa10b1de6f505fb3aaca31272
|
|
| MD5 |
db1f1e57ab407e4d0c683a8d67e0d41a
|
|
| BLAKE2b-256 |
cf7e1d181668b9a730ea2407da794f9d4c76aa8dd6b41419bcbd95a32864afb6
|