# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-tornado VERSION= 6.4.1 KEYWORDS= python VARIANTS= v12 v13 SDESC[v12]= Web framework and asynchronous networking (3.12) SDESC[v13]= Web framework and asynchronous networking (3.13) HOMEPAGE= http://www.tornadoweb.org/ CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPI/t/tornado DISTFILE[1]= tornado-6.4.1.tar.gz:main DF_INDEX= 1 SPKGS[v12]= single SPKGS[v13]= single OPTIONS_AVAILABLE= PY312 PY313 OPTIONS_STANDARD= none VOPTS[v12]= PY312=ON PY313=OFF VOPTS[v13]= PY312=OFF PY313=ON USES= cpe DISTNAME= tornado-6.4.1 CPE_PRODUCT= tornado CPE_VENDOR= tornadoweb GENERATED= yes [PY312].USES_ON= python:v12,sutools [PY313].USES_ON= python:v13,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:99:distinfo] 92d3ab53183d8c50f8204a51e6f91d18a15d5ef261e84d452800d4ff6fc504e9 500623 tornado-6.4.1.tar.gz