PDF handler scaffold for embedding and extracting XMP packets in Swarmauri runtimes.
Project description
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
- 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_pdf-0.1.1.dev40.tar.gz.
File metadata
- Download URL: swarmauri_xmp_pdf-0.1.1.dev40.tar.gz
- Upload date:
- Size: 2.2 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 |
865fc9d2b8cb0fb5e0e328f9902f42107d89b435b75bf729d0ee4fb5b9150e3a
|
|
| MD5 |
71dc714124211ca4419a3a7d4eeac94b
|
|
| BLAKE2b-256 |
f60b9b77ffa99b26480680881fd2895ff73b8835639afbb5317e51a9f8113c71
|
File details
Details for the file swarmauri_xmp_pdf-0.1.1.dev40-py3-none-any.whl.
File metadata
- Download URL: swarmauri_xmp_pdf-0.1.1.dev40-py3-none-any.whl
- Upload date:
- Size: 3.1 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 |
4b37d9395c674837f589b8a664fb754fe1173dcd56af7c7d9b6aebb67150c897
|
|
| MD5 |
cf2e609f0fae16400664aa220843c47d
|
|
| BLAKE2b-256 |
adf8782f7dd77a3cc286eb8561cd296d5689d6baacb2b6dc97b711baf750c4a7
|