awesome-python
awesome-python copied to clipboard
Add a lib: convert html to pdf
What is this Python project?
Python 3 wrapper for wkhtmltopdf utility to convert HTML to PDF using Webkit.
What's the difference between this Python project and similar ones?
It is easy to use in docker
FROM python:3.9-slim
RUN pip install pdfkit==1.0.0
# convert html to pdf
RUN apt update -y && apt install -y wkhtmltopdf \
&& apt autoremove && apt clean
--
Anyone who agrees with this pull request could submit an Approve review to it.