Hi, can someone point me to Python PDF package that can do metadata writing? I was surprised that I couldn't find any. I mean I found Python XMP Toolkit, but building Exempi on cygwin is nightmare I want to avoid.
Thanks
Hi, can someone point me to Python PDF package that can do metadata writing? I was surprised that I couldn't find any. I mean I found Python XMP Toolkit, but building Exempi on cygwin is nightmare I want to avoid.
Thanks
Note: both examples above work with pdf docinfo metadata, not xmp metadata (which may be possible too, I don't know)
You could of course always wrap a command line application like pdftk.
I would also suppose that there must be some other libraries that are able to do this, but this is all I can come up with myself right now ;-)
You might want to get a command line to modify metadata. Some tools modify both native and XMP metadata.
I wrote a blog on metadata editing a while ago: http://www.barcodeschool.com/2010/09/publishers-fix-the-metadata-in-the-pdf-file/