Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 681 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 681 Bytes

pdf2text

Converts text files to PDF format.

Installation

To install pdf2text, you can use the following command:

python -m venv .venv
python -m pip install -U pip setuptools wheel poetry
poetry install

Usage

usage: pdf2text.py [-h] -i INPUT [-o OUTPUT] [-s MAX_SIZE]

Extract text from a PDF file.

options:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Path to the input PDF file.
  -o OUTPUT, --output OUTPUT
                        Path to the output text file.
  -s MAX_SIZE, --max-size MAX_SIZE
                        Maximum size of each output file in kilobytes (default: 400).