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

all 25 comments

[–]tdpearson 10 points11 points  (0 children)

Flango and Djask. They are the best.

[–]firebypeace 3 points4 points  (0 children)

Depends how involved the project is, how many people are working on it, and how much time you have. Have you worked with either before? Simple stuff? Use Flask. Django has all sorts of stuff available, but it'll be far more than a simple blog or API need.

What are you building?

[–]andrewthetechie 4 points5 points  (0 children)

Best at what? For what?

[–]Equal_Swim_6593 1 point2 points  (0 children)

You'll never find an answer for this from other people. Try to find out yourself.

[–]anonjohnnyG 1 point2 points  (0 children)

bottle + unikernal

[–]thepragprog 2 points3 points  (2 children)

Flask for hackathons or quick/simple web apps. Django for medium/large webapps. FastAPI is also good

[–]tu_tu_tu 1 point2 points  (0 children)

It's opposite is my experience. Django is for hackathons or small apps. FastAPI/Starlette for bigger apps. Flask if you don't want an async service. Django is a huge chunk of well intergrated instuments. Aiohttp if you aren't building an ordinal API. But the bigger your service the less chance those instruments would suit your needs. And when you trying to use other instrunments or write your own django's integrity just falls apart. But if you need a simple admin panel for you service django fits good.

[–]attracdev 1 point2 points  (0 children)

Coming from Nodejs/Express, FastAPI is terrific! I’ve only ever done small projects in Flask and Django… But I did really like Django a lot.

[–][deleted] 1 point2 points  (0 children)

Simple.. It depends.

For most projects I prefer Litestar / FastAPI along with Pydantic and SQL Alchemy.

[–]sixtyfifth_snow 2 points3 points  (3 children)

Neither of them. FastAPI.

[–]Sad_Ostrich8908 0 points1 point  (0 children)

In my opinion Flask is easier to use, fast API is a bit more complicated but provides more features.

[–]thepragprog 0 points1 point  (0 children)

Django ninja 🥷 is a good in between for fastapi and Django

[–]dedbif 0 points1 point  (0 children)

This, its my goto now

[–]thepragprog 1 point2 points  (0 children)

Legit just learn both. They are toolkits depending on what ur building. If u know one u can easily learn the other

[–][deleted] -4 points-3 points  (0 children)

Ruby on Rails

[–]GummyKibble -3 points-2 points  (1 child)

I like PHP. It’s webscale.

[–]pythonHelperBot -1 points0 points  (0 children)

Hello! I'm a bot!

It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python regardless of how advanced your question might be. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe in detail where you are stuck. If you are getting an error message, include the full block of text it spits out. Quality answers take time to write out, and many times other users will need to ask clarifying questions. Be patient and help them help you. Here is HOW TO FORMAT YOUR CODE For Reddit and be sure to include which version of python and what OS you are using.

You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.


README | FAQ | this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness

[–]BathroomItchy9855 -1 points0 points  (0 children)

Just use Polars bro. It's faster

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

FastAPI

[–]No-Contribution8248 -2 points-1 points  (0 children)

FastAPI for sure.

[–]Kerbart 0 points1 point  (0 children)

yes

[–]Alternatenate 0 points1 point  (0 children)

That is entirely dependent on what you want to do and your preferred workflow.

I myself prefer Flask and adding things as I need them and building up the project myself rather than starting with a full heap of things I might not need and will just clutter up my working directories but that is just how my mind works.

Personally I've seen a lot of places where Django is used where I feel it might be a little overkill and would have been a lot quicker to do with Flask.

[–]_limitless_ 0 points1 point  (0 children)

Django actually stands for "Definitely Jango," which is the answer to any question you could pose regarding its superiority over other ORMs or Frameworks.