https://github.com/ciwga/pdftoolkit
PDF Toolkit is a Python application that provides a graphical user interface (GUI) for performing various operations on PDF files, such as editing metadata, extracting pages, and extracting images.
https://github.com/ciwga/pdftoolkit
pdf-editor pdf-image-extractor pdf-metadata-editor pdf-page-extractor
Last synced: 7 months ago
JSON representation
PDF Toolkit is a Python application that provides a graphical user interface (GUI) for performing various operations on PDF files, such as editing metadata, extracting pages, and extracting images.
- Host: GitHub
- URL: https://github.com/ciwga/pdftoolkit
- Owner: ciwga
- License: mit
- Created: 2025-02-13T22:47:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-15T23:35:21.000Z (over 1 year ago)
- Last Synced: 2025-02-16T00:21:33.234Z (over 1 year ago)
- Topics: pdf-editor, pdf-image-extractor, pdf-metadata-editor, pdf-page-extractor
- Language: Python
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PDF Toolkit
PDF Toolkit is a Python application that provides a graphical user interface (GUI) for performing various operations on PDF files, such as editing metadata, extracting pages, and extracting images. The application is built using `tkinter` for the GUI and `PyPDF2` for PDF operations.
## Features
- **PDF File Operations**: Load and save PDF files.
- **Metadata Editor**: View and edit PDF metadata fields such as Title, Author, Subject, Keywords, Creator, Producer, Creation Date, and Modification Date.
- **Save and Load Metadata**: Save metadata to a JSON file and load metadata from a JSON file.
- **Page Operations**: Extract specific pages from a PDF file and save them as a new PDF.
- **Image Operations**: Extract images from a PDF file and save them to a specified directory.
- **Drag and Drop**: Drag and drop PDF files directly into the application for easy loading.
- **Window Centering**: The application window opens centered on the screen.
## Requirements
- Python 3.7+
- `PyPDF2` library
- `tkinterdnd2` library
You can install the required library using the following command:
```sh
pip install -r requirements.txt
```
## Usage
**Running the Application**
To run the application, execute the following command:
```bash
python pdftoolkit.py
```
### User Interface
The following image shows the graphical user interface of the PDF Toolkit:
