Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a lib: convert html to pdf #2567

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Song2017
Copy link

@Song2017 Song2017 commented Feb 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant