A simple Python CLI tool to generate PDFs with configurable dimensions and Lorem Ipsum text.
- Clone the repository.
- Install dependencies:
pip install -r requirements.txt
Run the script from the command line:
python -m src.cli --output my_document.pdf --width 210 --height 297 --pages 2 --paragraphs 4 --size 1.5--output: Output filename (required).--width: Page width in mm (default: 210).--height: Page height in mm (default: 297).--pages: Number of pages (default: 1).--paragraphs: Number of paragraphs per page (default: 5).--size: Target file size in MB (optional).