Skip to content

A desktop application to merge, split, add watermark, rotate and rearrange pages, and set password to PDF files. 🖥️ pip install pyPDFeditor-GUI

License

Augus1999/pyPDFeditor-GUI

Repository files navigation

pyPDFeditor-GUI

PyPI Downloads pylint

OS python PyQt black

This project is based on PyQt5 and PyMuPDF and tested on Windows 10 & 11.

Welcome 🎃🎉

Welcome to use pyPDFeditor-GUI. pyPDFeditor-GUI is a simple cross-platform application, thanks to Python, PyQt5 and PyMuPDF, designed to work on simple PDF handling.

I tried my best to make it close to Fluent UI. Icons used can be found 🔗here.

Features

  • Support 3 languages: English, 日本語 (Japanese), and 中文 (Traditional Chinese)
  • Fluent UI design
  • Cross-platform support
  • Open-source and free to use under MIT licence
  • Frameless Window on Windows (Snap Layout on Windows 11 is supported)

What's in

  • Merge files no matter they are PDF files (.pdf), image files (.jpg .png .jpeg .bmp .tiff .svg), or e-book files (.epub .xps .fb2 .cbz) into one PDF file📚
  • (...right-click the page then) Delete pages or rearrange pages
  • (...right-click the page then) Extract images from a page
  • (...right-click the page then) Rotate a page
  • (...right-click the page then) Save a page as a PDF file or image file (.png .psd .ppm)
  • Add watermark (PDF only)
  • Set password either user or/and owner password (PDF only)🔒
  • Set permissions (PDF only)🔏
  • Edit catalogue structure of the file (PDF only)📑
  • Edit metadata of the file (PDF only)📝
  • Convert image files or e-book files to PDF

Requirements 🧩

Python>=3.7
PyQt5>=5.15.4
PyMuPDF>=1.19.2

Install & Run

install from source

you will need setuptools and wheel installed

$ cd <path>
$ pip install .

where <path> is the directory setup.py locates.

install from PyPi

$ pip install -U pyPDFeditor-GUI

build thy own package

this requires build, setuptools and wheel installed

$ pip install -r requirements.txt
$ python -m build

Run

  • $ pdfeditor to launch the application.

  • $ python -m pypdfeditor_core --reset to reset the application; this will delete all settings and caches. Default settings will be created at next launch.

  • $ python -m pypdfeditor_core --remove to remove the whole application.

  • $ python -m pypdfeditor_core --debug to enable showing all mupdf errors and/or warnings.

Screenshot 🎞️

on Windows 11:

tab2 win11

Support Snap Layouts on Windows 11

Others

Setting and cache files are stored in the directory C:\User\USER\.pyPDFeditor-GUI (Windows) or home/USER/.pyPDFeditor-GUI (Linux and macOS).

Please report any errors to Issues. Thank you!

About

A desktop application to merge, split, add watermark, rotate and rearrange pages, and set password to PDF files. 🖥️ pip install pyPDFeditor-GUI

Topics

Resources

License

Stars

Watchers

Forks

Languages