Skip to main content

XMP support for RDFLib, tools for manipulating XMP metadata

Project description

XMP Tools

version license Documentation Status

This package provides basic XMP support for RDFLib, including parsing, modification, and serialization. XMP is Adobe's metadata format, based on RDF. Trivially, XMP metadata is RDF serialized as RDF/XML, "wrapped" within a special XML element.

Adobe's XMP documentation can be found here.

Unit tests with incomplete coverage are provided, as well as some documentation and examples.

The parser and the serializer are implemented as RDFLib plugins. Because of limited extensibility of RDFLib, we have copied some methods from RDFLib and modified them. The plugins register themselves as format="xmp". Normally, you do not have to know this, as we provide convenience functionality for reading and writing XMP (see below).

Future plans

Make the embedded metadata support more "robust". Writing of embedded metadata is not in the plans, at least for now.

Contact

Author: Ora Lassila ora@somanyaircraft.com

Copyright (c) 2021 Ora Lassila and So Many Aircraft

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

xmptools-0.4.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

xmptools-0.4.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file xmptools-0.4.0.tar.gz.

File metadata

  • Download URL: xmptools-0.4.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for xmptools-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e5c3425b94624e08d480b4e7d576e3fce87482967b88b53183d8fe4c7d2f9c8f
MD5 c5f86aefdb122a74ac18766b4438e457
BLAKE2b-256 fbf840debc823aa20b74dd9f37c59cfd54d72d825dbcf7d05a1e4d4a68ded884

See more details on using hashes here.

File details

Details for the file xmptools-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: xmptools-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for xmptools-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e1224d990b7db6605770892a8b4090c7a125bd98ec5999d381730218e078e69
MD5 a88bba37daca0a8a024e0643ecc3127b
BLAKE2b-256 5474e9e0d217dfb593f1994a239da9eda1f60cab70097f0e2b4257e4693c6350

See more details on using hashes here.

Supported by

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