GitHub 火線榜

GitHub 火線榜 · 倉庫檔案

tornadoweb/tornado

Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. (簡介來自倉庫自身文件。)

資料截至 October 25tornadoweb

最好成績

#409

總榜 · Python 分面

22K

累計 Star

5.6K

Fork 總數

0

近 30 天在榜天數

專案狀態授權條款: Apache-2.0最近 push: October 25Open Issues(含 PR): 230

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

把上榜徽章放進你的 README · tornadoweb/tornado[![把上榜徽章放進你的 README](https://git.vaiox.xyz/api/badge/tornadoweb/tornado.svg)](https://git.vaiox.xyz/zh-TW/repo/tornadoweb/tornado)
<a href="https://git.vaiox.xyz/zh-TW/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 天沒有上榜紀錄。

同類專案 · 共享主題

← 回到榜單