Fetching data from PDF

I am building an application to read my credit card bills from email every month and provide me insights on reward points, spendings. LLM based QnA etc.

I have developed fetching pdf from emails, decryption and saving as a pdf file, I just want data from it. Currently I just used saving → reading file → delete file in file system only. How can I utilise databases here if that can help me to create a robust pipeline (To make it work with multiple users as well)?

I searched for “python pdf” and the first result is a Python library that “can retrieve text and metadata from PDFs”

Here it is:

and a tutorial on that library:

To make a multi-user application that uses a database in the back end, not really something that you’re going to learn in a forum thread, unfortunately.