简体   繁体   中英

How to convert HTML to PDF in AWS Lambda using Python as a run environment

Is there any Python Library or Tool from which I can convert HTML to PDF (image, styles) in AWS Lambda. I searched on google, but failed to get any suitable solution. Mostly looking MIT or BSD licences tool. I checked wkhtmltopdf, but it is LGPLv3 licences.

No third party API(html2pdf).

使用pdfkit ,然后确保在您首次创建Lambda函数时其包含在Lambda部署软件包中

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM