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


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.1.1.dev32.tar.gz (2.2 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.1.1.dev32-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_xmp_pdf-0.1.1.dev32.tar.gz.

File metadata

  • Download URL: swarmauri_xmp_pdf-0.1.1.dev32.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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.1.1.dev32.tar.gz
Algorithm Hash digest
SHA256 dc227c3771b9075f8bf7693a00274a801e323a0158a01a2fc45c5f24a43d3e19
MD5 7feced48e1620f792ab096c595e7f2a4
BLAKE2b-256 b677aa68d96b155f8dcfef788aaae07d409857ffe0f92a661794e464708fecc1

See more details on using hashes here.

File details

Details for the file swarmauri_xmp_pdf-0.1.1.dev32-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_xmp_pdf-0.1.1.dev32-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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.1.1.dev32-py3-none-any.whl
Algorithm Hash digest
SHA256 623d4063b668c6690669b0082a2b9ea893ffeeffbe31e97617a97ca7f891b295
MD5 1536dd96b631d98a54b63340c7ce7468
BLAKE2b-256 64784cb4a9d73c38e08cdd5aa0e5aca20705cee3fb7f5b5102ed136308c74856

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