{"repo":"vvanglro/pwhtmltopdf","free":true,"listed":false,"github":"https://github.com/vvanglro/pwhtmltopdf","clone":"git clone https://github.com/vvanglro/pwhtmltopdf.git","description":"A modern html to pdf scheme based on playwright, Support more html and css technologies","language":"Python","stars":17,"topics":["pdf","playwright","wkhtmltopdf","html-to-pdf","async","python","asyncio","pdf-generation"],"license":"Apache-2.0","category":"scrapers-browser-automation","readme_excerpt":"Playwright Html To Pdf A modern html to pdf scheme based on playwright, Support more html and css technologies. Installation 1. Install pwhtmltopdf 2. Install chromium Development (uv) Usage Simple example: Render fill: When local render is equal to true, jinja2 template syntax will be used to render filled html, If html needs to use local static resources, you need to set static root , If you want to render filled data dynamically to generate pdf(Based on jinja2), try the following method👇 Advanced usage Support playwright new page and page.pdf all parameters passthrough.","default_branch":null,"files":null,"tree":[],"storefront":"/r/vvanglro","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vvanglro/pwhtmltopdf/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}