Installation
To install PDFViewer along with the dependencies:
1 2 3 4 5 6 7 8 9 |
sudo apt install python3-tk sudo apt install tesseract-ocr git clone https://github.com/naiveHobo/pdfviewer.git cd pdfviewer/ sudo pip3 install . |
Instructions
To start PDFViewer:
1 2 3 4 5 6 7 8 |
from tkinter import Tk from pdfviewer import PDFViewer root = Tk() PDFViewer() root.mainloop() |
Dependencies
1 2 3 4 5 6 7 |
python3 tkinter pdfplumber PyPDF2 pytesseract tesseract-ocr Pillow |