Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nice job guys. This is off-topic but do you guys know of a good library to convert HTML to PDF (Python)? I'm wondering how did guys at pdfmyurl.com did it? Any ideas


Have a look at http://pdfcrowd.com - it is a service providing an html to pdf online API and it has bindings for python. It is in private beta now, so if you are interested please just contact me and I will send you an invitation key.


Hmm, looks good. Cannot find your email in your profile, can you kindly let me know your email? Or can you email me at rolf.oltmans@gmail.com. Thank you.


You can try pisa (xhtml2pdf) here: http://www.xhtml2pdf.com/ Pretty robust. I am having some trouble with bidirectional support, but otherwise looks good - it's an all-python solution.


I just tried it and it isn't working very well for some HTML pages. But thanks,anyway.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: