4 ms·
Thanks for sharing! Have you tried any other options, like using puppeteer or similar tools? I'm curious about the performance (time, CPU) of the library you ch
by rudasn 5y ago
Thanks for sharing! Have you tried any other options, like using puppeteer or similar tools? I'm curious about the performance (time, CPU) of the library you chose, as I had issues with weasyprint and great results with puppeteer.
- spapas82 5y agoI haven't used puppeteer because I'd rather avoid the node.js ecosystem. I haven't used weasyprint because I can't install it on windows. The old way of doing it was using reportlab+xhtmltopdf (as described here: https://spapas.github.io/2015/11/27/pdf-in-django/ https://spapas.github.io/2015/11/27/pdf-in-django/) About wkhtmltopdf I am using it for some years in an internal (elixir) project and it works flawlessly, never had any complaint...
- rudasn 5y agoCool thanks for sharing!