Blink-based webpage-to-pdf converter
Project description
BlinkPDF is yet another webpage-to-pdf converter.
It uses PyQt5 and QtWebEngine (with Blink engine) to do so.
Pass an URL and an output filename, the page will be retrieved and converted to PDF. Additionally, it can be given custom cookies and headers and also some javascript code to execute (if needing to perform custom tweaks to the page).
Unfortunately, even though BlinkPDF runs headless and quits as soon as PDF is written, Qt requires having a valid X11 $DISPLAY. If intending to run BlinkPDF on a completely headless environment, it’s best to run it within an Xvfb server.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
blinkpdf-1.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
blinkpdf-1.0-py3-none-any.whl
(4.6 kB
view hashes)