10 best Python frameworks for Web development and 10 python

Source: Internet
Author: User
Tags ruby on rails web2py

10 best Python frameworks for Web development and 10 python

Python is a dynamic and object-oriented language. It was initially designed as an object-oriented language, and later added some more advanced features. In addition to the design purpose of the language itself, the Python standard library is also commendable, and Python even comes with servers. Other aspects, python has enough free data function libraries, free Web Page Template systems, libraries that interact with Web servers, and these can be designed into your Web applications. In this article, we will introduce Python Web developers to the top 10 Web application frameworks based on Python.

CubicWeb

The most important pillar of CubicWeb is code reusability. CubicWeb advocates that it is not only a Web development framework, but also a semantic Web development framework. CubicWeb uses the relational Query Language (RQLRelation Query Language) to communicate with databases.

Zope2

Zope 2 is a Python-based Web application framework. It is the first of all Python Web applications and tools and is a powerful branch of the Python family. The "Object publishing" system of Zope 2 is very suitable for object-oriented development methods. It can reduce developers' learning curves and help you find some bad functions in applications.

Web2py

Web2py is a free open-source Web framework written in Python. It is designed to develop Web applications quickly and quickly, with fast, scalable, secure, and portable database-driven applications, follow the LGPLv3 open source protocol.

Web2py provides an all-in-one solution. The entire development process can be carried out in a browser. It provides online Web development, HTML template writing, static file uploading, and database writing functions. Other functions include the log function and an automated admin interface.

TurboGears

It is another Python-based MVC-style Web application framework.

TurboGears developers call this project a "broad framework" because it is composed of existing sub-projects. TurboGears can help integrate many major components:

  • MochiKit: JavaScript Library
  • Kid: Template Language
  • CherryPy: Basic Web Framework
  • SQLObject: Object link Er (ORM)

    Pylons

    Pylons is an open-source Web application framework written in python. It extends the WSGI standard, improves reusability, and separates functions into independent modules.

    Pylons is a typical example of the latest Web application framework, similar to Django and TurboGears. Pylons is deeply influenced by Ruby on Rails: it has two components, Routes and WebHelpers, which are Python implementations of Rails.

    Grok

    Grok is a Web application development framework provided for Python developers. Grok focuses on Agile development and is an easy-to-use and powerful development framework based on Zope 3 technology.

    Web. py

    Web. py is a lightweight open-source Python Web framework. It is small, flexible, simple, and powerful, and has no restrictions in use. Currently, Web. py is widely used in many large websites, such as Frinki, a Spanish social networking website, and Yandex, which has an average daily access volume of 70 million times.

    Pyramid

    Pyramid is also a lightweight open-source Python Web framework and is part of the Pylons project. Pyramid can only run on Versions later than Python 2.x or 2.4. When using backend databases, you do not need to declare them. during development, some specific template systems are not forced to be used.

    CherryPy

    CherryPy is a Python-based Web application development framework that greatly simplifies the work of web developers who use Python. It provides a friendly HTTP interface for Python developers. As you know, HTTP is the pillar protocol of the World Wide Web, while CherryPy simplifies the HTTP protocol into a Python API for Python developers to use, which greatly simplifies the operations of Web developers on the HTTP protocol. CherryPy itself has an HTTP server or Web server. In this way, CherryPy users can directly run the CherryPy application without setting up a Web server. In fact, the Web server is a gateway to the CherryPy application and a must for all HTTP requests and responses. Therefore, we can understand the built-in Web server of CherryPy as follows: it is a layer of software located between the processing client and the server. It is used to convert the underlying TCP sets of information transmitted by word into Http requests, and pass it to the corresponding processing program. At the same time, it also packs the information sent from the upper-layer software into an Http Response and passes it down to the underlying TCP set of words.

    Flask

    Flask is a lightweight Web application framework written in Python. Based on the WerkzeugWSGI toolkit and Jinja2 template engine. Use BSD authorization.

    Flask is also called "microframework" because it uses a simple core and extension to add other features. Flask does not have any default database or form verification tools. However, Flask retains the scalability and can be used with Flask-extension to add these capabilities: ORM, form verification tools, file upload, and various open identity verification technologies.

The above is the 10 Python frameworks shared in this article. I hope you will like them.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.