mirror of https://github.com/sartography/pdfs.git
8aa1a484c8 | ||
---|---|---|
.gitignore | ||
README.md | ||
docs | ||
index.html | ||
output_pdfkit.pdf | ||
output_weasyprint.pdf | ||
output_xhtml2pdf.pdf | ||
poetry.lock | ||
pyproject.toml | ||
run_pdfkit.py | ||
run_pyhtml2pdf.py | ||
run_weasyprint.py | ||
run_xhtml2pdf.py |
README.md
original index.html from https://codepen.io/tjoen/pen/wvgvLX
there are several run_[python-lib].py scripts that demonstrate how to use the python lib in question. there are several corresponding output_[python-lib].pdf files that show the output of the run_[python-lib].py scripts.
to run:
poetry install
poetry run python run_weasyprint.py # for example