by joaodlf · 4y ago · 0 comments
The FastAPI docs read like a full project, a very dense project. Sometimes you just want to learn about a specific feature, but you walk into a page that assumes you have the context of the previous chapters, that puts me off a lot.
I also dislike how some of the documentation is absolutely enormous (the SQL chapters is one example), but I suspect this might have to do with the not-so-simple approach FastAPI takes, as opposed to Flask, which is indeed very simple.
I really can't join the crowd here. I don't think FastAPI is a replacement for Flask, even when async is taken out of the equation. Flask has some weird quirks to it (like "g"), but it really is a beautiful and simple API for the web.
But it could _really_ do with some "Reference" documentation. Sometimes I just want to know exactly what a call does or what the various parameters mean.
Pytorch, 8400
Pandas, 3400
Tensorflow, 2100
jupyter notebook, 2000
scikit-learn, 1500
pytest, 720
requests, 170
The outlier seem to be Flask.
django, 1101 open, 32662 closed
cherrypy, 218 open, 1505 closed
starlette, 31 open, 570 closed
pyramid, 70 open, 966 closed
falcon, 168 open, 789 closed
flask, 14 open, 2318 closed
fastapi, 1044 open, 1855 closed
Fast api has one of the worst ratio regarding open/closed issues.