Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-pdf-script-python

A simple Python script to convert:

  • an Excel spreadsheet (.xlsx)
  • or a text file (.txt)

into an automatically formatted PDF report.

Install Dependencies

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Usage with Text

python3 generate_pdf.py --text example.txt --output text_report.pdf --title "Text Report"

Usage with Excel

python3 generate_pdf.py --excel example.xlsx --output sales_report.pdf --title "Sales Report"

About

A simple Python script to convert: * an Excel spreadsheet (`.xlsx`) * or a text file (`.txt`) into an automatically formatted PDF report.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages