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"
Metadata
Release files for code-to-pdf 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| code_to_pdf-0.5-py3-none-any.whl | Python 3 | none | any | Details for code_to_pdf-0.5-py3-none-any.whl |
Release files / code_to_pdf-0.5-py3-none-any.whl
| Download URL | code_to_pdf-0.5-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
378e2be3d68d6d73670c132cc8050bcd99d062fefb19ba6241e54a3fb7464437
|
|
BLAKE2b-256 checksum How to use checksums |
fa36100ec19c497ffbad2c226c10a7042f4a99d95e63a4c0d9887619b4ad7cd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for code-to-pdf 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.