How to show which PDF page camelot is reading?

Python 3.11.9 on Windows 10.

I’m using Camelot to extract tables from a PDF which is about 34 pages. This takes a while, about 7-8 seconds per page or longer. How can I get camelot to show me which page it is processing so I can get an idea how long this will take?

I have looked for the documentation for read_pdf() and have only found a PDF from Oct 2023 here.

My 34 page PDF is just a test. I may have PDFs which are 400+ pages, which I may have to run overnight.

OR, I have not found how to read one page at a time in a loop.

  1. How would Python know how many pages are in my given pdf?

I think then I could make a loop to read that one page and emit a status message for each page.

Thank you!