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, worldHere 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.
DocumentationDocumentation and links to additional resources are available at https://www.tornadoweb.org
Download filesDownload the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution Built Distributions File detailsDetails for the file tornado-6.5.2.tar.gz
.
ab53c8f9a0fa351e2c0741284e06c7a45da86afb544133201c5cc8578eb076a0
MD5 dbf1f706f0a1efd9ed3dad8d82b7e865
BLAKE2b-256 09ce1eb500eae19f4648281bb2186927bb062d2438c2e5093d1360391afd2f90
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for tornado-6.5.2.tar.gz
:
Details for the file tornado-6.5.2-cp39-abi3-win_arm64.whl
.
d6c33dc3672e3a1f3618eb63b7ef4683a7688e7b9e6e8f0d9aa5726360a004af
MD5 f76dff346ffcfe8bc8c71e1c51285ae0
BLAKE2b-256 5e4fe1f65e8f8c76d73658b33d33b81eed4322fb5085350e4328d5c956f0c8f9
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for tornado-6.5.2-cp39-abi3-win_arm64.whl
:
Details for the file tornado-6.5.2-cp39-abi3-win_amd64.whl
.
e56a5af51cc30dd2cae649429af65ca2f6571da29504a07995175df14c18f35f
MD5 d6593a626f144890eed547af5cd78967
BLAKE2b-256 c72af609b420c2f564a748a2d80ebfb2ee02a73ca80223af712fca591386cafb
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for tornado-6.5.2-cp39-abi3-win_amd64.whl
:
Details for the file tornado-6.5.2-cp39-abi3-win32.whl
.
c6f29e94d9b37a95013bb669616352ddb82e3bfe8326fccee50583caebc8a5f0
MD5 f3c136a5b902b7798bb9a7e02c5db7f0
BLAKE2b-256 e859593bd0f40f7355806bf6573b47b8c22f8e1374c9b6fd03114bd6b7a3dcfd
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for tornado-6.5.2-cp39-abi3-win32.whl
:
Details for the file tornado-6.5.2-cp39-abi3-musllinux_1_2_x86_64.whl
.
b5e735ab2889d7ed33b32a459cac490eda71a1ba6857b0118de476ab6c366c04
MD5 857ac295b18fbe74e088c9df11d16026
BLAKE2b-256 ae2df5f5707b655ce2317190183868cd0f6822a1121b4baeae509ceb9590d0bd
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for tornado-6.5.2-cp39-abi3-musllinux_1_2_x86_64.whl
:
Details for the file tornado-6.5.2-cp39-abi3-musllinux_1_2_i686.whl
.
74db443e0f5251be86cbf37929f84d8c20c27a355dd452a5cfa2aada0d001ec4
MD5 ec3880a9e37f30e7b1e2d3fd6db99da5
BLAKE2b-256 9b02c8f4f6c9204526daf3d760f4aa555a7a33ad0e60843eac025ccfd6ff4a93
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for tornado-6.5.2-cp39-abi3-musllinux_1_2_i686.whl
:
Details for the file tornado-6.5.2-cp39-abi3-musllinux_1_2_aarch64.whl
.
06ceb1300fd70cb20e43b1ad8aaee0266e69e7ced38fa910ad2e03285009ce7c
MD5 c994e35e8f2e8e069e1c6d2b817dd57a
BLAKE2b-256 1192fe6d57da897776ad2e01e279170ea8ae726755b045fe5ac73b75357a5a3f
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for tornado-6.5.2-cp39-abi3-musllinux_1_2_aarch64.whl
:
Details for the file tornado-6.5.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
b0fe179f28d597deab2842b86ed4060deec7388f1fd9c1b4a41adf8af058907e
MD5 1a99172b38b5851d6d787d9b1b753bdf
BLAKE2b-256 1b4e619174f52b120efcf23633c817fd3fed867c30bff785e2cd5a53a70e483c
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for tornado-6.5.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
:
Details for the file tornado-6.5.2-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
e792706668c87709709c18b353da1f7662317b563ff69f00bab83595940c7108
MD5 2cc1eefa14348607e1127b00ec2b8a6b
BLAKE2b-256 f941fb15f06e33d7430ca89420283a8762a4e6b8025b800ea51796ab5e6d9559
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for tornado-6.5.2-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
:
Details for the file tornado-6.5.2-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
.
b186e85d1e3536d69583d2298423744740986018e393d0321df7340e71898882
MD5 094b03821c83759f15b54319b5543d4f
BLAKE2b-256 95fa87b41709552bbd393c85dd18e4e3499dcd8983f66e7972926db8d96aa065
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for tornado-6.5.2-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
:
Details for the file tornado-6.5.2-cp39-abi3-macosx_10_9_x86_64.whl
.
583a52c7aa94ee046854ba81d9ebb6c81ec0fd30386d96f7640c96dad45a03ef
MD5 e1865ec1ef62e53d731a3bba542c16b3
BLAKE2b-256 f2b59b575a0ed3e50b00c40b08cbce82eb618229091d09f6d14bce80fc01cb0b
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for tornado-6.5.2-cp39-abi3-macosx_10_9_x86_64.whl
:
Details for the file tornado-6.5.2-cp39-abi3-macosx_10_9_universal2.whl
.
2436822940d37cde62771cff8774f4f00b3c8024fe482e16ca8387b8a2724db6
MD5 d1da498ba99736b8435c9e5cac391509
BLAKE2b-256 f6486a7529df2c9cc12efd2e8f5dd219516184d703b34c06786809670df5b3bd
See more details on using hashes here.
ProvenanceThe following attestation bundles were made for tornado-6.5.2-cp39-abi3-macosx_10_9_universal2.whl
:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4