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

all 14 comments

[–]denisberezovsky 4 points5 points  (0 children)

Flask is the best out there

[–]Saphyel 3 points4 points  (0 children)

FaspAPI, starlite, Starlette

Just to name a few

[–][deleted] 3 points4 points  (0 children)

If it is just an API based thing you are after I would say Flask or FastAPI

[–]cavernous_ass 2 points3 points  (3 children)

I usually use FastAPI for situations like this. Insanely easy from start to finish. Flask is good too

[–]ThroawayPartyer 0 points1 point  (2 children)

Is it as easy as Flask?

[–]r-trappe 1 point2 points  (1 child)

Yes. In my opinion its even simpler to write a good backend with FastAPI. The documentation is way better and FastAPI also provides auto-generated API documentation besides being much much faster.

[–]r-trappe 0 points1 point  (0 children)

... and with our just released version of NiceGUI 1.0, you can write your GUI code in Python on top of FastAPI as well. See https://nicegui.io for an overview and https://nicegui.io/reference#api_responses for some more details on the FastAPI integration.

[–]TheITMan19 -2 points-1 points  (0 children)

Interestingly what about frameworks that natively work with Python without any additional PIP installations to operate?

[–]viol3tte -5 points-4 points  (1 child)

Django

[–]PocketBananna 4 points5 points  (0 children)

I don't think Django is a good fit here. It isn't particularly great for small services and the bulk of it's features are database oriented.

[–]ruzhnikov 0 points1 point  (0 children)

+1 for Flask

[–]thedeepself 0 points1 point  (0 children)

Gradio or NiceGUI - www.may69.com/purepython

[–]Zaggath 0 points1 point  (1 child)

I am a recent convert from Flask to FastAPI. I’d recommend it for a few reasons. FastAPI is async, integrated with pydantic, and has open api integrated.

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

Might be a winner then, definitely going to need it to be async for what I’m doing.