Skip to main content

WebP handler scaffold for embedding and extracting XMP packets in Swarmauri runtimes.

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_xmp_webp

---

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 NotImplementedError for 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 EmbedXmpBase means discovery logic will work without code changes once implemented.
  • Clear contracts – explicit NotImplementedError exceptions communicate the remaining work to contributors.

Project Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmauri_xmp_webp-0.1.2.dev2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swarmauri_xmp_webp-0.1.2.dev2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_xmp_webp-0.1.2.dev2.tar.gz.

File metadata

  • Download URL: swarmauri_xmp_webp-0.1.2.dev2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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

Hashes for swarmauri_xmp_webp-0.1.2.dev2.tar.gz
Algorithm Hash digest
SHA256 c94cdeaf69871c4f1d229a8cdd4f12bc13299d622b6748fc2c84c9d5bb46fc29
MD5 9722a5a3f9a351a55d7870f775a975b8
BLAKE2b-256 76a42f6c406c6047357a2551d5beec2a8e2e4d5d2b824139b9be92b706076003

See more details on using hashes here.

File details

Details for the file swarmauri_xmp_webp-0.1.2.dev2-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_xmp_webp-0.1.2.dev2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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

Hashes for swarmauri_xmp_webp-0.1.2.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 b3c461f091e4af086248fb766caefbce2d11e0c3fd52b9ca644993a80920b180
MD5 ccbb4c78a1285fc41ee241350cb9cce3
BLAKE2b-256 a7b1d8d5474195d7cab269dc56d23f256ab6a7ef25a39aafae2d92e6e1999ca9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page