Metadata-Version: 2.1
Name: pdfp
Version: 0.2.1
Summary: PDF Processor - a GUI for some common PDF operations.
Home-page: https://github.com/MellowKyler/pdfp
License: AGPL-3.0-only
Author: Dreary
Author-email: drearywillowdev@gmail.com
Requires-Python: >=3.10,<3.13
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: PySide6 (>=6.5.0,<7.0.0)
Requires-Dist: gtts (>=2.5.1,<3.0.0)
Requires-Dist: ocrmypdf (>=16.4.1,<17.0.0)
Requires-Dist: pymupdf (>=1.24.7,<2.0.0)
Requires-Dist: send2trash (>=1.8.3,<2.0.0)
Project-URL: Issues, https://github.com/MellowKyler/pdfp/issues
Project-URL: PyPi, https://pypi.org/project/pdfp/
Project-URL: Source, https://github.com/MellowKyler/pdfp
Description-Content-Type: text/markdown

<img align="left" width="100" height="100" src="https://raw.githubusercontent.com/MellowKyler/pdfp/main/pdfp/images/logo.ico" alt="icon">

# pdfp
PDF Processor - a GUI for some common PDF operations.

![pdfp](https://raw.githubusercontent.com/MellowKyler/pdfp/main/docs/demo.png)

## Features
- Converts files to PDF
- Turns PDF pages into PNGs
- Optical character recognition
- Crops PDF dimensions
- Removes pages and keeps specified pages
- Copies contents without line breaks or trailing hypens
- Converts text to speech
- Drag, drop, and convert multiple files at a time

## Pre-Installation
- Download [Briss](https://github.com/mbaeuerle/Briss-2.0)
  - Requires [Java](https://www.oracle.com/java/technologies/downloads) 8 or above
- Install [Tesseract and Ghostscript](https://ocrmypdf.readthedocs.io/en/latest/installation.html#installing-on-windows) (requirements for ocrmypdf)

## Installation and Running

### Install with [pip](https://pypi.org/project/pdfp/)

```bash
$ pip install pdfp
$ pdfp
```

Or install from git (if I haven't published an update to PyPI):

```bash
$ pip install git+https://github.com/MellowKyler/pdfp.git
$ pdfp
```

### Run from source

1. Have Python version 3.10-3.12 installed, and [poetry](https://python-poetry.org/)
2. Download the source code
3. Install required Python modules with `poetry install`
4. Run the program with `poetry run pdfp`

## Notes
Tested in Linux and Windows. Mac should work as well, but I don't own one so I can't confirm compatibility.
