Skip to main content

This convert a software proyect to a pdf book

Project description

codecov example workflow Checked with mypy

PDF code proyect 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 usefull. 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

You will also need wkhtmltopdf. In Ubuntu:

sudo apt install wkhtmltopdf

Usage

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

It will generate a file named "ouptut_document.pdf"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

code_to_pdf-0.5-py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page