[PR #2567] Add a lib: convert html to pdf #1885

Open
opened 2025-11-06 13:25:09 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/2567
Author: @Song2017
Created: 2/22/2024
Status: 🔄 Open

Base: masterHead: master


📝 Commits (1)

  • cdb016d Add a lib: convert html to pdf

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/2567 **Author:** [@Song2017](https://github.com/Song2017) **Created:** 2/22/2024 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`cdb016d`](https://github.com/vinta/awesome-python/commit/cdb016de154fd4c48a2c7fb96b5237a16b76ab62) Add a lib: convert html to pdf ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description # 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 13:25:09 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#1885