What are the web development frameworks in python? Which web framework is best for learning python? Python Learning Network According to popularity, we specially recommend the top 10 Python Web frameworks! And compare these 10 excellent web development frameworks respectively! Welcome for reference!
First place: Django framework
Django is a high-level Python web development The framework is characterized by fast development, less code, and strong scalability. Django uses the MTV (Model, Template, View) model to organize resources. The framework has rich functions and the most template expansion options. For professionals, Django is undoubtedly the #1 web development framework for Python. (Recommended learning: Django video tutorial)
Second place: Flask framework
Flask is a Python is a micro-framework for web development. Strictly speaking, it only provides web server support and does not provide full-stack development support. However, Flask is very lightweight and simple. It takes minutes to build a web system based on it, which is especially suitable for the development of small and micro prototype systems. It is a very cost-effective choice to spend less time and produce a usable system. (Recommended learning: Flask video tutorial)
Third place: web.py framework
As As its name suggests, web.py is a web framework that uses Python as the development language, which is simple and powerful. Russia’s number one search engine, Yandex, is developed based on this framework. Guido van Rossum believes this is the best Python web framework. Need to say anything else? There are facts to prove it and experts to approve it, use it!
Fourth place: Tornado framework
Tornado is a Web development framework based on the asynchronous network function library, therefore, it can Supporting tens of thousands of open connections, the web service is efficient and stable. It can be seen that Tornado is suitable for web systems in high concurrency scenarios. The development process needs to use the framework provided by Tornado, which has poor flexibility. It is not too late to consider using it after determining the scenario.
Fifth place: TurboGears framework
TurboGears 2 attempts to solve the flaws of TurboGears 1, Django, Rails and other frameworks. It supports multiple Database, JavaScript toolset, multiple data exchange formats, etc. Of course, it is very efficient to develop and highly scalable. Which one is better, it or Django? It’s really hard to say. It may be more important that the Django community is more active.
Sixth place: CherryPy framework
##CherryPy allows developers to develop Web systems based on similar design methods to other object-oriented programs. , and then use the least code and the most concise way. CherryPy has been developed for 10 years and has good stability. It is very suitable for small-scale web systems and pure Python programmers. What do you feel? Python has the potential to dominate the world! Let’s wait and see.Seventh place: Falcon framework
Falcon is a Web that supports large-scale microservice API or mobile App back-end response Development framework, which is entirely based on Python and provides very high performance, reliability and scalability. Falcon has a unique positioning and distinctive features. For app developers, you may want to consider Falcon when building back-end systems. Nine times out of ten, you will not regret it.Eighth place: Pyramid framework
Pyramid is a highly scalable and flexible Python Web development framework. It is very easy to get started and is more suitable for medium-scale scenarios where development and design are at the same time. Pyramid does not provide an absolutely strict framework definition and can be expanded and developed according to needs, making it very friendly to advanced programmers.Ninth place: Quart framework
Quart is a Python Web micro-framework developed for ASGI (Asynchronous Server Gateway Interface). It uses a Flask-compatible API interface and provides a very lightweight development method. If Flask is so popular, then Quart will also be so popular. For small and micro web system development, what are you waiting for? Get started now!Tenth place: reahl framework
reahl is an open framework that allows developers to write web applications entirely in Python, using Python Being the only development language is its biggest feature. In addition, reahl provides quite clear and concise development components, which are clear and feasible enough for developing general functional web systems.
The above web development frameworks in python are commonly used among the top three domestic frameworks. It is recommended that beginners learn these three frameworks first, and later choose other python web frameworks according to work needs.
This article is reproduced from python learning network, original address: https://www.py.cn/toutiao/10317.html
The above is the detailed content of Which web framework is best for learning python? 2019 python web framework ranking. For more information, please follow other related articles on the PHP Chinese website!