Skip to content

This tool converts a folder of files in a printable A4 PDF

License

Notifications You must be signed in to change notification settings

isidroas/code_to_pdf

Repository files navigation

codecov example workflow Checked with mypy

PDF code project generator

Spending many hours in front of a screen can be tiring. Sometimes we need to analyze libraries that are used in our application and to give our eyes a break, this program could be useful. Its input is a folder that contains files of code, and the output is a PDF document of highlighted source. Also, at the beginning an index is added, which indicates the page number per each file of code.

Image conversion

Installation

pip install code_to_pdf

Usage

code_to_pdf --title output_document  path/to/project/dir/

It will generate a file named "output_document.pdf"

About

This tool converts a folder of files in a printable A4 PDF

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published