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:
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
Metadata
Release files for tornado 6.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tornado-6.4.tar.gz | 498.8 kB | Details |
Built distributions (wheels)
Total release size: 4.9 MB
Release files / tornado-6.4.tar.gz
| Download URL | tornado-6.4.tar.gz |
|---|---|
| Size | 498.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72291fa6e6bc84e626589f1c29d90a5a6d593ef5ae68052ee2ef000dfd273dee
|
|
BLAKE2b-256 checksum How to use checksums |
bda2ea124343e3b8dd7712561fe56c4f92eda26865f5e1040b289203729186f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / tornado-6.4-cp38-abi3-win_amd64.whl
| Download URL | tornado-6.4-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 437.0 kB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
10aeaa8006333433da48dec9fe417877f8bcc21f48dda8d661ae79da357b2a63
|
|
BLAKE2b-256 checksum How to use checksums |
af2b4649926f17c1634d21c584cc855b5c5021f148b934919d26932a595bc034
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / tornado-6.4-cp38-abi3-win32.whl
| Download URL | tornado-6.4-cp38-abi3-win32.whl |
|---|---|
| Size | 436.5 kB |
| Tags | CPython 3.8 Windows x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
6f8a6c77900f5ae93d8b4ae1196472d0ccc2775cc1dfdc9e7727889145c45052
|
|
BLAKE2b-256 checksum How to use checksums |
a707bdda4c6dcd625cc2bc13e06a15876055cc852ec76c748ab7a025ea3804ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / tornado-6.4-cp38-abi3-musllinux_1_1_x86_64.whl
| Download URL | tornado-6.4-cp38-abi3-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 438.2 kB |
| Tags | CPython 3.8 Linux musl 1.1+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
71ddfc23a0e03ef2df1c1397d859868d158c8276a0603b96cf86892bff58149f
|
|
BLAKE2b-256 checksum How to use checksums |
25a31025f561b87b3cca6f66da149ba7ce4c2bb18d7bd6b84cd5a13a274e9dd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / tornado-6.4-cp38-abi3-musllinux_1_1_i686.whl
| Download URL | tornado-6.4-cp38-abi3-musllinux_1_1_i686.whl |
|---|---|
| Size | 438.2 kB |
| Tags | CPython 3.8 Linux musl 1.1+ x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
88b84956273fbd73420e6d4b8d5ccbe913c65d31351b4c004ae362eba06e1f78
|
|
BLAKE2b-256 checksum How to use checksums |
e240bcf0af5a29a850bf5ad7f79ef51c054f99e18d9cdf4efd6eeb0df819641f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / tornado-6.4-cp38-abi3-musllinux_1_1_aarch64.whl
| Download URL | tornado-6.4-cp38-abi3-musllinux_1_1_aarch64.whl |
|---|---|
| Size | 438.2 kB |
| Tags | CPython 3.8 Linux musl 1.1+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
fd03192e287fbd0899dd8f81c6fb9cbbc69194d2074b38f384cb6fa72b80e9c2
|
|
BLAKE2b-256 checksum How to use checksums |
66e5466aa544e0cbae9b0ece79cd42db257fa7bfa3197c853e3f7921b3963190
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / tornado-6.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | tornado-6.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 435.9 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
f7894c581ecdcf91666a0912f18ce5e757213999e183ebfc2c3fdbf4d5bd764e
|
|
BLAKE2b-256 checksum How to use checksums |
62e53ee2ba523a13bae5c17d1658580d13597116c1639374ca5033d58fd04724
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / tornado-6.4-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | tornado-6.4-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 435.4 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
f0251554cdd50b4b44362f73ad5ba7126fc5b2c2895cc62b14a1c2d7ea32f212
|
|
BLAKE2b-256 checksum How to use checksums |
9f1211d0a757bb67278d3380d41955ae98527d5ad18330b2edbdc8de222b569b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / tornado-6.4-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | tornado-6.4-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 435.2 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
e43bc2e5370a6a8e413e1e1cd0c91bedc5bd62a74a532371042a18ef19e10579
|
|
BLAKE2b-256 checksum How to use checksums |
0e76aca8c8726d045c1c7b093cca3c5551e8df444ef74ba0dfd1f205da1f95db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / tornado-6.4-cp38-abi3-macosx_10_9_x86_64.whl
| Download URL | tornado-6.4-cp38-abi3-macosx_10_9_x86_64.whl |
|---|---|
| Size | 431.1 kB |
| Tags | CPython 3.8 abi3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
27787de946a9cffd63ce5814c33f734c627a87072ec7eed71f7fc4417bb16263
|
|
BLAKE2b-256 checksum How to use checksums |
347ae7ec972db24513ea69ac7132c1a5eef62309dc978566a4afffa314417a45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / tornado-6.4-cp38-abi3-macosx_10_9_universal2.whl
| Download URL | tornado-6.4-cp38-abi3-macosx_10_9_universal2.whl |
|---|---|
| Size | 433.1 kB |
| Tags | CPython 3.8 abi3 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
02ccefc7d8211e5a7f9e8bc3f9e5b0ad6262ba2fbb683a6443ecc804e5224ce0
|
|
BLAKE2b-256 checksum How to use checksums |
4a2e3ba930e3af171847d610e07ae878e04fcb7e4d7822f1a2d29a27b128ea24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|