Skip to content

R0U5/tablet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tablet PDF Editor

Visual drag-and-drop PDF editor matching Canva-like usability, built with Python.

Tech Stack

  • Rendering: PyMuPDF (fitz) for 60FPS page rendering
  • Editing: pikepdf for structural changes, ReportLab for vector overlays
  • OCR: Tesseract for scanned PDF text extraction
  • UI: PyQt6 for native desktop experience

Prerequisites

  • Python 3.12+
  • Tesseract OCR: Windows | macOS: brew install tesseract | Linux: sudo apt install tesseract-ocr
  • qpdf (for pikepdf): Windows | macOS: brew install qpdf | Linux: sudo apt install qpdf

Setup

git clone <repo-url> && cd pycanvas-pdf
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt

Run

python src/main.py

Features

  • Tabbed interface with drag-and-drop page editing
  • Text block editing with original font style preservation
  • Image/shape overlay support
  • Full undo/redo stack
  • OCR for scanned PDFs
  • Linearized, compressed export

About

Canva-like visual PDF editor built with Python. Features drag-and-drop editing, text block manipulation, OCR, and vector overlays using PyMuPDF, pikepdf, and PyQt6.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages