Python Web Frameworks For Production Level

Question:

I have been using Flask for Building REST API on the development level. I want to create REST API at Production Level. So which Python web framework would be Best?

These frameworks I saw while searching:

CherryPy
Flask
Django
Pyramid
TurboGears
Pylons
Web2py
Falcon
Bottle
Etc.
Asked By: Lucifer

||

Answers:

Django has a big support for REST API. According to my own experience I’d advice Django.

See more here: https://www.django-rest-framework.org/

Answered By: Adil Shirinov

For a REST API, I would use FastAPI. It has a strong reputation.

I have used it for several projects, and I like it because it fairly easily lets you do the right thing without much work. For instance, it relies upon pedantic to ensure the proper data types for what you are sending/receiving.

Answered By: Mike Williamson
Categories: questions Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.