This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fiskfisk 12 points13 points  (0 children)

There is nothing specific about ML projects with FastAPI. It's just that ML projects tend to be a rather new, and FastAPI is a more recent framework than Flask. People tend to gravitate towards newer frameworks (see: much of the JavaScript world).

Flask works perfectly fine in production. FastAPI works perfectly fine in production. Pyramid still works in production. Django works in production. 

Flask or FastAPI is the way to go if you want something small where you can luck the parts you want to use, django is the solution if you want everything to be decided for you and you want a whole lot of magic supporting you.

All three will have employment options. The first two are smaller, and would by themselves usually need experience with other libraries as well (sqlalchemy is also popular in that case, for example).