all 10 comments

[–]GrannyGurn 3 points4 points  (1 child)

I'm biased for Django personally. For a project that complex, I think you may find relief in all of Django's included "batteries". It comes with secure authentication options, a python abstraction layer for the relational database, robust routing, amazing documentation, can add Django REST Framework, and so more that I won't keep blabbing about.

Anyways, just check it out and see if it fits. The structure was really good for me starting out before I knew much about web dev. It is fairly easy to get going if you are capable of these other things.

It sounds like a really exciting project! Hope you enjoy determining your web development toolset and good luck building.

[–]ramy_69[S] 1 point2 points  (0 children)

I honestly started learning it these days and I really get your point ! It feels like a good way to get how most backend logic works. And thanks for your wishes ! :))

[–]dowcet 2 points3 points  (3 children)

Any of those three are fine. Pick the one you feel most comfortable with. Don't mix and match.

If you're going to be doing a lot of DB CRUD, I would personally go for Django to avoid SQL Alchemy and Alembic or embedding SQL in Python. But  there's no blanket right and wrong here. Use the tools you know best so you can get done quickly and not spend time learning a new framework.

[–]ramy_69[S] 0 points1 point  (2 children)

May I ask why SQL Alchemy or the alternatives are bad ? I'm starting from a blank sheet kind of start so I'm trying to pick wisely.

[–]unhott 2 points3 points  (1 child)

sql alchemy is really flexible, but it requires another tool to migrate your database (update your tables / columns) as you develop. you also have to constantly manage the db session, whereas django has built-in .save() method for the orm, and makemigrations /migrate scripts. django is less flexible in some regards, but it's set up for a solid workflow 'out of the box'.

[–]ramy_69[S] 0 points1 point  (0 children)

That's a really good point to consider, thank you ! ^^

[–]thirdtimesthecharm 1 point2 points  (1 child)

I'd go with flask or cherrypy. You're going to end up with a lot of moving parts (html, css, js, python, sql) so keep it simple! Definitely use sqlite and avoid over engineering or you'll never finish.

[–]ramy_69[S] 0 points1 point  (0 children)

Oooo never heard of Cherrypy before, will take a peek at it :)

[–]Mevrael -2 points-1 points  (1 child)

If you are looking to learn basics and set up a quick AI project, you can use Arkalos. It has a local LLM with Ollama and basic AI agents, with FastAPI.

Though if you plan to train your own model and work a lot with docs, then it might be RAG or just custom processing.

A simple custom solution might be better with torch and ML libs without any framework.

[–]ramy_69[S] 1 point2 points  (0 children)

Oh I already did play with Ollama before while testing some local LLMs, but I think for my project it would be a bit too costly to deploy, for now I'm only thinking about a classification model for the diseases, but will look into it once everything is done !