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.3
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.3.tar.gz | 508.0 kB | Details |
Built distributions (wheels)
Total release size: 4.8 MB
Release files / tornado-6.3.tar.gz
| Download URL | tornado-6.3.tar.gz |
|---|---|
| Size | 508.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d68f3192936ff2c4add04dc21a436a43b4408d466746b78bb2b9d0a53a18683f
|
|
BLAKE2b-256 checksum How to use checksums |
15e688afe8318b6aaff1e6c60b3d4b94c9b68708cc0a5ba2f6dae5cbc288ce69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / tornado-6.3-cp38-abi3-win_amd64.whl
| Download URL | tornado-6.3-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 427.9 kB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
720f53e6367b38190ae7fa398c25c086c69d88b3c6535bd6021a126b727fb5cd
|
|
BLAKE2b-256 checksum How to use checksums |
ed6b453e9026ffbc53282fbc502a2ad33a9687643d998b08d6ce3deafaf948b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / tornado-6.3-cp38-abi3-win32.whl
| Download URL | tornado-6.3-cp38-abi3-win32.whl |
|---|---|
| Size | 427.4 kB |
| Tags | CPython 3.8 Windows x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
d7b737e18f701de3e4a3b0824260b4d740e4d60607b8089bb80e80ffd464780e
|
|
BLAKE2b-256 checksum How to use checksums |
adc5020793aab4933c7ab03cf8ac1eb6d5c627426739b5e6d4fe7acc94ef7528
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / tornado-6.3-cp38-abi3-musllinux_1_1_x86_64.whl
| Download URL | tornado-6.3-cp38-abi3-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 429.2 kB |
| Tags | CPython 3.8 Linux musl 1.1+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
4d349846931557b7ec92f224b5d598b160e2ba26ae1812480b42e9622c884bf7
|
|
BLAKE2b-256 checksum How to use checksums |
988c0e3ad77e931ddcd1696b093f34e1007852043ffad2e151064964315c33ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / tornado-6.3-cp38-abi3-musllinux_1_1_i686.whl
| Download URL | tornado-6.3-cp38-abi3-musllinux_1_1_i686.whl |
|---|---|
| Size | 429.2 kB |
| Tags | CPython 3.8 Linux musl 1.1+ x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
c9114a61a4588c09065b9996ae05462350d17160b92b9bf9a1e93689cc0424dc
|
|
BLAKE2b-256 checksum How to use checksums |
e1c3b8156e72343136cdf661993c60fed85c77d30052c0ec776da33482b18c42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / tornado-6.3-cp38-abi3-musllinux_1_1_aarch64.whl
| Download URL | tornado-6.3-cp38-abi3-musllinux_1_1_aarch64.whl |
|---|---|
| Size | 429.2 kB |
| Tags | CPython 3.8 Linux musl 1.1+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
c37b6a384d54ce6a31168d40ab21ad2591ddaf34973075cc0cad154402ecd9e8
|
|
BLAKE2b-256 checksum How to use checksums |
9d70ccf601ddd8c7cdfc358aa186943290444318dbedc7dbd0e36f8c648b9a2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / tornado-6.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | tornado-6.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 426.8 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
4546003dc8b5733489139d3bff5fa6a0211be505faf819bd9970e7c2b32e8122
|
|
BLAKE2b-256 checksum How to use checksums |
cea9585f530840efe17539ab6d985c2989d6952c1fd5e57e0e8605348d808b4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / tornado-6.3-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | tornado-6.3-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 426.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 |
912df5712024564e362ecce43c8d5862e14c78c8dd3846c9d889d44fbd7f4951
|
|
BLAKE2b-256 checksum How to use checksums |
004751366fdc68fbd552150f5e36582875c8c8cd14623f946ce37730418e3580
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / tornado-6.3-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | tornado-6.3-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 426.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 |
c659ab04d5aa477dbe44152c67d93f3ad3243b992d94f795ca1d5c73c37337ce
|
|
BLAKE2b-256 checksum How to use checksums |
45b7e3e828f0cf11e4cca5e51badf3dcaf8a370e31e59fb8759a8ba877af9720
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / tornado-6.3-cp38-abi3-macosx_10_9_x86_64.whl
| Download URL | tornado-6.3-cp38-abi3-macosx_10_9_x86_64.whl |
|---|---|
| Size | 422.1 kB |
| Tags | CPython 3.8 abi3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
6164571f5b9f73143d1334df4584cb9ac86d20c461e17b6c189a19ead8bb93c1
|
|
BLAKE2b-256 checksum How to use checksums |
9684561d26caf2ced0404fddfb977642e56a3ca2f1e87b8b134ba08e88eb7c7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / tornado-6.3-cp38-abi3-macosx_10_9_universal2.whl
| Download URL | tornado-6.3-cp38-abi3-macosx_10_9_universal2.whl |
|---|---|
| Size | 424.1 kB |
| Tags | CPython 3.8 abi3 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
6cfff1e9c15c79e106b8352269d201f8fc0815914a6260f3893ca18b724ea94b
|
|
BLAKE2b-256 checksum How to use checksums |
4a1dd00c7bcb9b710015c395273348f72abb54b62494a209dd85481c748c58cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|