# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-tornado VERSION= 6.6.1 KEYWORDS= python VARIANTS= v14 v15 SDESC[v14]= Web framework and asynchronous networking (3.14) SDESC[v15]= Web framework and asynchronous networking (3.15) HOMEPAGE= http://www.tornadoweb.org/ CONTACT= Python_Automaton[python@ravenports.com] DOWNLOAD_GROUPS= main SITES[main]= PYPI/t/tornado DISTFILE[1]= tornado-6.6.1.tar.gz:main DIST_SUBDIR= python-src DF_INDEX= 1 SPKGS[v14]= single SPKGS[v15]= single OPTIONS_AVAILABLE= PY314 PY315 OPTIONS_STANDARD= none VOPTS[v14]= PY314=ON PY315=OFF VOPTS[v15]= PY314=OFF PY315=ON USES= cpe DISTNAME= tornado-6.6.1 CPE_PRODUCT= tornado CPE_VENDOR= tornadoweb GENERATED= yes [PY314].USES_ON= python:v14,pep517 [PY315].USES_ON= python:v15,pep517 [FILE:1217:descriptions/desc.single] .. image:: docs/tornado.png?raw=true :alt: Tornado Web :align: center 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:110:distinfo] 28e6311402af59c8b02e3fa0f5e7d8eb465b25081381803b127d97e6a4395d5a 623388 python-src/tornado-6.6.1.tar.gz