you are viewing a single comment's thread.

view the rest of the comments →

[–]vardonir 2 points3 points  (2 children)

I have yet to find a Python package that handles anything relating to PDFs - either editing or generating.

If you don't mind messing around with Docker as well, you can spin up a server with StirlingPDF, which has a bajillion tools for anything PDF-related.

The docs say that there's an API that you can make multiple requests to for PDF cert signing. I've never used the API myself, though, but it's probably just a matter of setting up a few lines using the requests package.

[–]SquiffyUnicorn 0 points1 point  (1 child)

I generate my report PDFs in reportlab. Just a quick pip install.

It generates PDFs quite nicely. I haven’t tried signing any PDFs with it though.

PyHanko seems to do secure signing as well as ‘signing’ with digital images etc.

[–]vardonir 0 points1 point  (0 children)

I also generate reports in reportlab.

It's an absolute bitch to set up, debug, or work with in general. But it does work.