PDF Viewer with Pyqt5 and pdfjs
- PyQt5
- python3
- pdf.js
download the latest stable version of pdf.js from the PDF JS Page
extract it to the same folder where the script is.
python3 myPDFViever.py /path/to/pdf_file
PyQt5 can now show PDF with QWebEngineView
python3 myPDFViever2.py /path/to/pdf_file