Looks like somebody is working on getting this updated to Python 3:
https://github.com/benmdt/X-Ray_Calibre_Plugin
I tried installing it myself but it didn't appear in the UI.
If there are any Python experts out there, this fork might be a good place to make some progress.