Skip to main content

A desktop application to edit PDF files.

Reason this release was yanked:

It has problem on opening non-PDF files.

Project description

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.

From version 3.0.0, we have moved the GUI library to PyQt6. If you upgraded from a previous version, you can consider removing PyQt5:

$ pip uninstall PyQt5 PyQt5-Qt5 PyQt5-sip

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
PyQt6>=6.7.0
PyMuPDF>=1.24.0

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypdfeditor_gui-3.0.0.tar.gz (40.3 kB view details)

Uploaded Source

Built Distribution

pyPDFeditor_GUI-3.0.0-py3-none-any.whl (60.5 kB view details)

Uploaded Python 3

File details

Details for the file pypdfeditor_gui-3.0.0.tar.gz.

File metadata

  • Download URL: pypdfeditor_gui-3.0.0.tar.gz
  • Upload date:
  • Size: 40.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for pypdfeditor_gui-3.0.0.tar.gz
Algorithm Hash digest
SHA256 bc4bd74ab6daf6cc22e9e42fae1d635606636b78221a81eb5bb15a37ca2c36e7
MD5 0f50a971f4dafc26d7ab150642bd2692
BLAKE2b-256 6475592b4f0791d25992b94b79fab8db241cddc061a4c1b7ddbeb4560be50cbb

See more details on using hashes here.

File details

Details for the file pyPDFeditor_GUI-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyPDFeditor_GUI-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9631bef2fe2e2adc91ffc9b8e2d985c9b28c1f37743d9b607efd546aa3fbc5f3
MD5 fbcd4acea3f63d9f073e5b5ec9ff1837
BLAKE2b-256 1617e8e0074fe51a800516886840b1f1c67bd7f8a0c50d16a394729298136c83

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page