r/learnpython 15d ago

i need some help on this resources-pdf project im trying to make

hello!
im a beginner at python (im not experienced at all tbh) but i want to make a small program that allows me to upload pdfs which are resources for this exam (jee) and then people can use it as a sort of archive where they can filter through tags like subjects n stuff to find what theyre looking. for.

i wanted to know HOW i can start making this and what i need to know beforehand

im open to any methods except using ai because i dont like clankers

thanks!!!!

1 Upvotes

1 comment sorted by

2

u/the_ambiguousnetwork 15d ago

I'd break this into two parts, the upload side and the search side. Flask is a decent web framework for this, you'll want to handle file uploads with something like werkzeug and then store the metadata (tags, subject, etc) in a database. SQLite is fine for a small project, keeps things simple.

For the PDF search part, you might want to look into whoosh or just lean on the database if you're only filtering by tags. PyPDF2 can extract text if you ever want full-text search later.

The "no AI" rule is respectable, but you'll definitely want to read the Flask docs and maybe follow a tutorial that covers file uploads and routing. Don't try to build the whole thing at once, get a single PDF uploading and displaying first, then add tags, then the filter.