Any Python programmers out there? pyPDF2 problem

Hi there, recent convert to Linux here and really enjoying it so far but I have come across a really annoying problem that is preventing me from moving over fully. I do a lot of work with pdf files and have over 15,000 of them in a folder to work with. I frequently have to do searches and to make things easier I have information stored in the “keywords” metadata section of the pdf. In windows I can view all the pf thumbnails using windows explorer and can also display the pdf tags using a COM program called pdf property extension

https://coolsoft.altervista.org/en/pdfpropertyextension

I need something similar for linux and thought the nautilus columns extension for nautilus would do the job for me.

While it does exactly what I want, in its default form it only displays title and author, not keywords.

I managed to get into the pythons code that controls it and you can see the code here

the issue seems to be that the script uses the code getDocumentInfo() to pull the metadata from the pdf, but the keywords are stored in the xmpmetadata under the pdf_keywords and is accessed by the code getXmpMetadata () I have no idea how this could be incorporated into the script to make it work. I have managed to alter the script so I have the Keywords column in nautilus but it just shows an error.

Any help would be much appreciated.