This convert a software proyect to a pdf book
Project description
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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file code_to_pdf-0.5-py3-none-any.whl.
File metadata
- Download URL: code_to_pdf-0.5-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/6.6.0 keyring/23.13.1 pkginfo/1.9.6 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.5 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
378e2be3d68d6d73670c132cc8050bcd99d062fefb19ba6241e54a3fb7464437
|
|
| MD5 |
3eea3c6bc7aae1b1e43b3a70f00c1222
|
|
| BLAKE2b-256 |
fa36100ec19c497ffbad2c226c10a7042f4a99d95e63a4c0d9887619b4ad7cd2
|