{"library":"weasyprint","type":"library","category":null,"description":"WeasyPrint is an actively maintained Python library (current version 68.1) that transforms HTML and CSS documents into high-quality PDF files. It acts as an 'Awesome Document Factory' by rendering web content using web standards, making it suitable for generating reports, invoices, books, and other printable documents with precise layout control. Releases are frequent, often several times a year.","language":"python","status":"active","version":"68.1","tags":["pdf","html-to-pdf","css-to-pdf","document-generation","rendering","print-layout"],"install":[{"cmd":"pip install weasyprint","imports":["from weasyprint import HTML","from weasyprint import HTML, CSS","from weasyprint import default_url_fetcher"]},{"cmd":"sudo apt install weasyprint","imports":[]},{"cmd":"brew install python pango libffi\npip install weasyprint","imports":[]},{"cmd":"Follow the official documentation for GTK+ installation using MSYS2, then: pip install weasyprint","imports":[]}],"homepage":"https://weasyprint.org/","github":"https://github.com/Kozea/WeasyPrint","docs":"https://doc.courtbouillon.org/weasyprint/","changelog":"https://github.com/Kozea/WeasyPrint/releases","pypi":"https://pypi.org/project/weasyprint/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":4.3,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/weasyprint/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":"stale"}}