I need help in converting pdf to docx. I found one library pdf2docx but this is a GNU license so I can't use this library to convert is there any library that I can use? I want to maintain the layout and all information and pdf files also contain images.
I have also tried converting the pdf to docx using subprocess this works but the file is corrupted.
Libraries that I have found are:
- pikepdf
 - pdfminer.six
 - pymupdf
 - pdfrw
 - pdfplumber etc...
 
In short I am looking for a pdf2docx library alternative. Please help me with this....