Answer the question
In order to leave comments, you need to log in
Choosing a framework for Python3?
I'm an old Perlovist, I decided to crawl over to Python, I immediately started learning from the third version (there is no point in clinging to legacy, which will not be in 3-5 years).
in fact, scripts are written at the very least, now I am mastering the object model and in general I try to write clean and transparent code (I don’t know how it turns out, it sucks, I guess).
one of the tasks is to choose a web framework to provide an API to a third-party program (I think I use REST). Which is best suited for the chosen task, Flask or Django?
thanks in advance for your reply :)
Answer the question
In order to leave comments, you need to log in
Take Flask or Tornado, I tried them and for the implementation of the API they are somehow better suited than Django. Django is good for complex sites.
I use Tornado browser game server with websocket transfer. The tornado never added any problems.
Depending on the task. Flask is lightweight and I recommend pyramid instead of django which is more complicated than django, but in my opinion it is more attractive than stuffed django
Since the last release, Django officially supports the third python.
одной из задач стоит выбор веб-фреймворка для предоставления API сторонней программе (использовать думаю REST). Что лучше всего подойдёт для выбранной задачи, Flask или Django?
Django has batteries for such things. You can look towards tastypie or django-rest-framework. It is necessary to clarify separately about the compatibility of a particular battery with a third python.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question