GitHub 火线榜

GitHub 火线榜 · 仓库档案

tornadoweb/tornado

Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. (简介来自仓库自身文档。)

数据截至 10月26日tornadoweb

最好成绩

#409

总榜 · Python 分面

2.2万

累计 Star

5592

Fork 总数

0

近 30 天在榜天数

项目状态许可证: Apache-2.0最近 push: 10月25日Open Issues(含 PR): 230

自 2026-10-25 起采集;未知 = 尚未采集到

把上榜徽章放进你的 README · tornadoweb/tornado[![把上榜徽章放进你的 README](https://git.vaiox.xyz/api/badge/tornadoweb/tornado.svg)](https://git.vaiox.xyz/zh/repo/tornadoweb/tornado)
<a href="https://git.vaiox.xyz/zh/repo/tornadoweb/tornado"><img src="https://git.vaiox.xyz/api/badge/tornadoweb/tornado.svg" alt="把上榜徽章放进你的 README" height="20"></a>

项目文档

Tornado Web

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.

Hello, world

Here is a simple "Hello, world" example web app for Tornado:

import asyncio
import tornado

class MainHandler(tornado.web.RequestHandler):
    def get(self):
        self.write("Hello, world")

def make_app():
    return tornado.web.Application([
        (r"/", MainHandler),
    ])

async def main():
    app = make_app()
    app.listen(8888)
    await asyncio.Event().wait()

if __name__ == "__main__":
    asyncio.run(main())

This example does not use any of Tornado's asynchronous features; for that see this simple chat room.

Documentation

Documentation and links to additional resources are available at https://www.tornadoweb.org

当前上榜

近 30 天势头

近 30 天没有上榜记录。

同类项目 · 共享主题

← 回到榜单