0

I need to create pdf using python. The data that I have is dynamic and needs multiple pages. Matplotlib is good but it has some limitations. Can someone suggest any python packages to create the pdf?

Jasmine
  • 476
  • 3
  • 22
  • Does this answer your question? [How to create PDF files in Python](https://stackoverflow.com/q/2252726/6045800) – Tomerikoo Dec 09 '21 at 12:13

3 Answers3

3

you can use this PyPDF2

for example:

from PyPDF2 import PdfFileReader, PdfFileWriter

for learn more go to https://realpython.com/creating-modifying-pdf/

Salio
  • 1,058
  • 10
  • 21
1

You can use pdfme. It's the most powerful library in python to create PDF documents.

You can check the docs here

Felipe Sierra
  • 143
  • 2
  • 12
0

Try taking a look at PyFPDF. Check out the docs here.

Netanel
  • 459
  • 1
  • 5
  • 17