So, it's a wrapper around not panddoc but pdf2docx,
https://github.com/dothinking/pdf2docx
which parses PDF via PyMuPDF,
https://github.com/pymupdf/PyMuPDF
which is a wrapper around MuPDF (which does the heavy lifting parsing PDF),
and writes DOCX via python-docx,