Python Web 开源框架排行榜

截止到 2024 年 2 月 22 日,对 Github Star > 900 的 Python Web 开源框架,按照 Star 数量,从高到低排序,具体排名如下:

1. Django
Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design.
About:
  The Web framework for perfectionists with deadlines. https://www.djangoproject.com/
Github: https://github.com/django/django
Star: 75.7k
Doc: https://docs.djangoproject.com/en/stable/

2. FastAPI
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.8+ based on standard Python type hints.
About:
  FastAPI framework, high performance, easy to learn, fast to code, ready for production. https://fastapi.tiangolo.com/
Github: https://github.com/tiangolo/fastapi
Star: 68.4k
Doc: https://fastapi.tiangolo.com/

3. Flask
Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. It began as a simple wrapper around Werkzeug and Jinja and has become one of the most popular Python web application frameworks.
About:
  The Python micro framework for building web applications. https://flask.palletsprojects.com/
Github: https://github.com/pallets/flask
Star: 65.8k
Doc: https://flask.palletsprojects.com/en/3.0.x/

4. Tornado
Tornado Web Server
Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user.
About:
  Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. http://www.tornadoweb.org/
Github: https://github.com/tornadoweb/tornado
Star: 21.4k
Doc: http://www.tornadoweb.org/

5. Falcon
The Falcon Web Framework
Falcon is a minimalist ASGI/WSGI framework for building mission-critical REST APIs and microservices, with a focus on reliability, correctness, and performance at scale.
About:
  The no-magic web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale. https://falcon.readthedocs.io/en/stable/
Github: https://github.com/falconry/falcon
Star: 9.3k
Doc: https://falcon.readthedocs.io/en/stable

6. Bottle
About:
  bottle.py is a fast and simple micro-framework for python web-applications. http://bottlepy.org/
Github: https://github.com/bottlepy/bottle
Star: 8.2k
Doc: http://bottlepy.org/

7. Hug
hug aims to make developing Python driven APIs as simple as possible, but no simpler. As a result, it drastically simplifies Python API development.
About:
  Embrace the APIs of the future. Hug aims to make developing APIs as simple as possible, but no simpler.
Github: https://github.com/hugapi/hug
Star: 6.8k
Doc: https://hugapi.github.io/hug/

8. web.py
About:
  web.py is a web framework for python that is as simple as it is powerful.
Github: https://github.com/webpy/webpy
Star: 5.9k
Doc: http://webpy.org/

9. Pyramid
Pyramid is a small, fast, down-to-earth, open source Python web framework. It makes real-world web application development and deployment more fun, more predictable, and more productive.
About:
  Pyramid - A Python web framework. https://trypyramid.com/
Github: https://github.com/Pylons/pyramid
Star: 3.9k
Doc: https://docs.pylonsproject.org/projects/pyramid/en/latest/

10. Masonite
About:
  The Modern And Developer Centric Python Web Framework. Be sure to read the documentation and join the Discord channel for questions: https://discord.gg/TwKeFahmPZ
Github: https://github.com/MasoniteFramework/masonite
Star: 2.1k
Doc: http://docs.masoniteproject.com/

11. web2py
Free open source full-stack framework for rapid development of fast, scalable, secure and portable database-driven web-based applications. Written and programmable in Python (version 3 and 2.7).
About:
  Free and open source full-stack enterprise framework for agile development of secure database-driven web-based applications, written and programmable in Python. http://www.web2py.com/
Github: https://github.com/web2py/web2py
Star: 2.1k
Doc: http://www.web2py.com/

12. CherryPy
About:
  CherryPy is a pythonic, object-oriented HTTP framework. https://cherrypy.dev
Github: https://github.com/cherrypy/cherrypy
Star: 1.8k
Doc: https://docs.cherrypy.dev/

13. Emmett
Emmett is a full-stack Python web framework designed with simplicity in mind.
About:
  The web framework for inventors
Github: https://github.com/emmett-framework/emmett
Star: 926
Doc: https://emmett.sh/docs

 

posted @ 2024-02-22 08:35  klchang  阅读(1619)  评论(0编辑  收藏  举报