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.


Author: Ora Lassila

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.1.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

xmptools-0.4.1-py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 3

Supported by

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