# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-tornado VERSION= 6.4 KEYWORDS= python VARIANTS= v11 v12 SDESC[v11]= Web framework and asynchronous networking (3.11) SDESC[v12]= Web framework and asynchronous networking (3.12) HOMEPAGE= http://www.tornadoweb.org/ CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPI/t/tornado DISTFILE[1]= tornado-6.4.tar.gz:main DF_INDEX= 1 SPKGS[v11]= single SPKGS[v12]= single OPTIONS_AVAILABLE= PY311 PY312 OPTIONS_STANDARD= none VOPTS[v11]= PY311=ON PY312=OFF VOPTS[v12]= PY311=OFF PY312=ON USES= cpe DISTNAME= tornado-6.4 CPE_PRODUCT= tornado CPE_VENDOR= tornadoweb GENERATED= yes [PY311].USES_ON= python:v11,sutools [PY312].USES_ON= python:v12,sutools [FILE:1140:descriptions/desc.single] 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: .. code-block:: python 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 [FILE:97:distinfo] 72291fa6e6bc84e626589f1c29d90a5a6d593ef5ae68052ee2ef000dfd273dee 498845 tornado-6.4.tar.gz