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.1.dev33.tar.gz (3.0 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.1.dev33-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_xmp_webp-0.1.1.dev33.tar.gz.

File metadata

  • Download URL: swarmauri_xmp_webp-0.1.1.dev33.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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.1.dev33.tar.gz
Algorithm Hash digest
SHA256 e973178ad4b1c6c7926175078c80ac226eb1f846d5f7087c5c53cf99290f0ad2
MD5 2585524fa0d0a9ee43332c2c2d198128
BLAKE2b-256 cf6bc5afbc2100ca68e78b725c9718f2c0056a9d99962891c0a506a1ef492fb9

See more details on using hashes here.

File details

Details for the file swarmauri_xmp_webp-0.1.1.dev33-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_xmp_webp-0.1.1.dev33-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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.1.dev33-py3-none-any.whl
Algorithm Hash digest
SHA256 b89477f2e1632dfb03070585909fdadb9267c257184e89d6e9131c915ee88141
MD5 8c6e393f8246d7832dc1a0f4f452eb8f
BLAKE2b-256 84fe26e9171915fb04f216442a614ed9a6711e4ddc304d23d1659178e8373e3b

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