Skip to main content

PDF 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_pdf Discord

swarmauri_xmp_pdf

swarmauri_xmp_pdf defines the PDFXMP scaffold so PDF metadata streams can adopt Swarmauri's XMP lifecycle once implemented.

Features

  • Future-proof ? defines the API surface for PDF metadata before implementation begins.
  • Registry-integrated ? extends EmbedXmpBase, so discovery happens automatically once functionality ships.
  • Clear guidance ? explicit errors communicate the current development status to downstream users.

Installation

# pip
pip install swarmauri_xmp_pdf

# uv
uv add swarmauri_xmp_pdf

Usage

from swarmauri_xmp_pdf import PDFXMP

handler = PDFXMP()

try:
    handler.remove_xmp(b"%PDF-1.7...")
except NotImplementedError:
    print("PDF XMP support will arrive in a future release.")

Why it works

  • Future-proof ? defines the API surface for PDF metadata before implementation begins.
  • Registry-integrated ? extends EmbedXmpBase, so discovery happens automatically once functionality ships.
  • Clear guidance ? explicit errors communicate the current development status to downstream users.

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_pdf-0.11.0.dev1.tar.gz (2.3 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_pdf-0.11.0.dev1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_xmp_pdf-0.11.0.dev1.tar.gz.

File metadata

  • Download URL: swarmauri_xmp_pdf-0.11.0.dev1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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_pdf-0.11.0.dev1.tar.gz
Algorithm Hash digest
SHA256 57af6c9465ac94141a38e4b57b1daef3bd7cfb0e8d9506bc66a115569e50b218
MD5 14eed7acc54b5139840e2c1a72cdd62f
BLAKE2b-256 0bbe6856732fc45e3d01d75c80e8d6381db091afe4527dbdcb1b05cd2f8d9d04

See more details on using hashes here.

File details

Details for the file swarmauri_xmp_pdf-0.11.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_xmp_pdf-0.11.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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_pdf-0.11.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 a04c927295fa816e19b62818e5df4d9620311dda901a183be61b5dedef3c6eeb
MD5 097debfa429876672d948d48e329b7a8
BLAKE2b-256 f1aa234012c378d7734ef20f6c830b7eb56cf20452d2a44f7d96961871db16ce

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