Ravenports generated: 13 Jan 2024 19:39
[ravenports.git] / bucket_2F / python-tornado
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-tornado
4 VERSION=                6.4
5 KEYWORDS=               python
6 VARIANTS=               v11 v12
7 SDESC[v11]=             Web framework and asynchronous networking (3.11)
8 SDESC[v12]=             Web framework and asynchronous networking (3.12)
9 HOMEPAGE=               http://www.tornadoweb.org/
10 CONTACT=                Python_Automaton[python@ironwolf.systems]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            PYPI/t/tornado
14 DISTFILE[1]=            tornado-6.4.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[v11]=             single
17 SPKGS[v12]=             single
18
19 OPTIONS_AVAILABLE=      PY311 PY312
20 OPTIONS_STANDARD=       none
21 VOPTS[v11]=             PY311=ON PY312=OFF
22 VOPTS[v12]=             PY311=OFF PY312=ON
23
24 USES=                   cpe
25
26 DISTNAME=               tornado-6.4
27
28 CPE_PRODUCT=            tornado
29 CPE_VENDOR=             tornadoweb
30 GENERATED=              yes
31
32 [PY311].USES_ON=                        python:v11,sutools
33
34 [PY312].USES_ON=                        python:v12,sutools
35
36 [FILE:1140:descriptions/desc.single]
37 Tornado Web Server
38 ==================
39
40 [Tornado] is a Python web framework and
41 asynchronous networking library, originally developed at [FriendFeed
42 ].  By using non-blocking network I/O, Tornado
43 can scale to tens of thousands of open connections, making it ideal for
44 [long polling],
45 [WebSockets], and other
46 applications that require a long-lived connection to each user.
47
48 Hello, world
49 ------------
50
51 Here is a simple "Hello, world" example web app for Tornado:
52
53 .. code-block:: python
54
55     import asyncio
56     import tornado
57
58     class MainHandler(tornado.web.RequestHandler):
59         def get(self):
60             self.write("Hello, world")
61
62     def make_app():
63         return tornado.web.Application([
64             (r"/", MainHandler),
65        ])
66
67     async def main():
68         app = make_app()
69         app.listen(8888)
70         await asyncio.Event().wait()
71
72     if __name__ == "__main__":
73         asyncio.run(main())
74
75 This example does not use any of Tornado's asynchronous features; for
76 that see this [simple chat room
77 ].
78
79 Documentation
80 -------------
81
82 Documentation and links to additional resources are available at
83 https://www.tornadoweb.org
84
85
86 [FILE:97:distinfo]
87 72291fa6e6bc84e626589f1c29d90a5a6d593ef5ae68052ee2ef000dfd273dee       498845 tornado-6.4.tar.gz
88