Home >Backend Development >Python Tutorial >What is the python framework and what are the mainstream frameworks?
#Python frameworks are usually divided into full-stack frameworks and non-full-stack frameworks. Full-stack frameworks design all technologies from user experience to database, while non-full-stack frameworks do not include all technologies of the entire development.
Here are the 15 most popular open source frameworks for Python. These frameworks include event I/O, OLAP, web development, high-performance network communications, testing, crawlers, etc.
1. Django: Python Web application development framework
Django should be the most famous Python framework. GAE and even Erlang have frameworks affected by it. Django is taking a big and comprehensive direction. It is most famous for its fully automated management backend: just use the ORM and make simple object definitions, and it can automatically generate a database structure and a full-featured management backend.
2. Diesel: Greenlet-based event I/O framework
Diesel provides a neat API to write network clients and servers. Supports TCP and UDP.
3. Flask: a lightweight web application framework written in Python
Flask is a lightweight web application framework written in Python. Based on Werkzeug WSGI toolbox and Jinja2
template engine. Flask is also called a "microframework" because it uses a simple core and uses extensions to add additional functionality. Flask does not have a default database or form validation tool.
4. Cubes: lightweight Python OLAP framework
Cubes is a lightweight Python framework that includes tools for OLAP, multidimensional data analysis, and browsing aggregated data. .
5. Pulsar: Python's event-driven concurrency framework
Pulsar is an event-driven concurrency framework. With pulsar, you can write a program that runs in different processes or threads. or multiple active asynchronous servers.
6. Web2py: Full-stack Web framework
Web2py is a full-featured Web application framework provided for the Python language. It is designed to develop Web applications agilely and quickly, with fast and Secure and portable database-driven applications, compatible with Google App Engine.
7. Falcon: a high-performance Python framework for building cloud APIs and network application backends
Falcon is a high-performance Python framework for building cloud APIs. It encourages the use of REST architectural style and uses REST architecture as much as possible. Do the most with the least effort.
8. Dpark: Python version of Spark
DPark is a Python clone of Spark. It is a distributed computing framework implemented in Python, which can easily implement large-scale data processing and Iterative calculation. DPark is implemented by Douban. At present, most of the data analysis within Douban is completed using DPark, and it is becoming more and more perfect.
9. Buildbot: Python-based continuous integration testing framework
Buildbot is an open source framework that can automate the process of software building, testing and release. Whenever the code changes, the server requires clients on different platforms to immediately build and test the code, and collects and reports the build and test results of the different platforms.
10. Zerorpc: A high-performance distributed RPC framework based on ZeroMQ
Zerorpc is a remote procedure call protocol (RPC) implementation developed based on ZeroMQ and MessagePack. The Service API used with Zerorpc is called zeroservice. Zerorpc can be called programmatically or from the command line.
11. Bottle: Micro Python Web Framework
Bottle is a simple and efficient micro python Web framework that follows WSGI. It is said to be micro because it has only one file and does not depend on any third-party modules except the Python standard library.
12. Tornado: Python Web framework for asynchronous non-blocking IO
The full name of Tornado is Torado Web Server. From the name, you can know that it can be used as a Web server, but At the same time, it is also a Python Web development framework. It was originally used on FriendFeed's website, and was open sourced after FaceBook acquired it.
13. webpy: lightweight Python Web framework
The design concept of webpy strives to be streamlined (Keep it simple and powerful). The source code is very short and only provides what is necessary for a framework. It does not rely on a large number of third-party modules. It has no URL routing, no templates and no database access.
14. Scrapy: Python’s crawler framework
Scrapy is written in Python, lightweight, simple and lightweight, and very convenient to use.
15. Kartograph.py: A lightweight Python framework for creating vector maps
Kartograph is a Python library used to generate SVG maps for ESRI. Kartograph.py is still in the beta stage, you can test it in the virtualenv environment
Related learning recommendations:python tutorial
The above is the detailed content of What is the python framework and what are the mainstream frameworks?. For more information, please follow other related articles on the PHP Chinese website!