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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1ae9bb9 · Oct 21, 2023
Jun 28, 2023
Oct 21, 2023
Dec 24, 2021
Dec 25, 2021
Oct 7, 2021
Jun 28, 2023
Jun 28, 2023
Oct 7, 2021
May 1, 2021
Sep 2, 2023
Oct 8, 2021
Sep 2, 2023

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