Python PDF library [closed]

。_饼干妹妹 提交于 2019-12-17 04:46:38

问题


What Python PDF libraries are there?

I need to make some PDF with many grids, and I'm looking for a library that allows to manage pages (multi-page). The library should calculate when the page is ended and then create the next page.


回答1:


The two that come to mind are:

  • pyPdf2
  • PDFMiner



回答2:


Reportlab. There is an open source version, and a paid version which adds the Report Markup Language (an alternative method of defining your document).




回答3:


I already have used Reportlab in one project.




回答4:


There is also http://appyframework.org/pod.html which takes a LibreOffice or OpenOffice document as template and can generate pdf, rtf, odt ... To generate pdf it requires a headless OOo on some server. Documentation is concise but relatively complete. http://appyframework.org/podWritingTemplates.html If you need advice, the author is rather helpful.



来源:https://stackoverflow.com/questions/6413441/python-pdf-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!