Skip to main content
Join the chat at https://gitter.im/tornadoweb/tornado

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 tornado.ioloop
import tornado.web

class MainHandler(tornado.web.RequestHandler):
    def get(self):
        self.write("Hello, world")

def make_app():
    return tornado.web.Application([
        (r"/", MainHandler),
    ])

if __name__ == "__main__":
    app = make_app()
    app.listen(8888)
    tornado.ioloop.IOLoop.current().start()

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 http://www.tornadoweb.org

Release files for tornado 6.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tornado 6.0.4
File Size Uploaded
tornado-6.0.4.tar.gz 496.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for tornado 6.0.4
File
tornado-6.0.4-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
tornado-6.0.4-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
tornado-6.0.4-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
tornado-6.0.4-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
tornado-6.0.4-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
tornado-6.0.4-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
tornado-6.0.4-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
tornado-6.0.4-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details

Total release size: 3.8 MB

Release files / tornado-6.0.4.tar.gz

Download URL tornado-6.0.4.tar.gz
Size 496.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0fe2d45ba43b00a41cd73f8be321a44936dc1aba233dee979f17a042b83eb6dc
BLAKE2b-256 checksum
How to use checksums
9584119a46d494f008969bf0c775cb2c6b3579d3c4cc1bb1b41a022aa93ee242
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

Release files / tornado-6.0.4-cp38-cp38-win_amd64.whl

Download URL tornado-6.0.4-cp38-cp38-win_amd64.whl
Size 417.5 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
c58d56003daf1b616336781b26d184023ea4af13ae143d9dda65e31e534940b9
BLAKE2b-256 checksum
How to use checksums
0c0448f7aca638106a57a94f9f3921fae27a9010076bccc9d31eef99c62ffaf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

Release files / tornado-6.0.4-cp38-cp38-win32.whl

Download URL tornado-6.0.4-cp38-cp38-win32.whl
Size 416.9 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
22aed82c2ea340c3771e3babc5ef220272f6fd06b5108a53b4976d0d722bcd52
BLAKE2b-256 checksum
How to use checksums
303891349845eea916575ddbe59a08866de3661b1e4564d42a845545066d51c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

Release files / tornado-6.0.4-cp37-cp37m-win_amd64.whl

Download URL tornado-6.0.4-cp37-cp37m-win_amd64.whl
Size 417.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
5618f72e947533832cbc3dec54e1dffc1747a5cb17d1fd91577ed14fa0dc081b
BLAKE2b-256 checksum
How to use checksums
2cbfe5431e00de9eb08f0aed3f8aa1c9bc3e0514bb604aba2f73dfb2d19f507a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

Release files / tornado-6.0.4-cp37-cp37m-win32.whl

Download URL tornado-6.0.4-cp37-cp37m-win32.whl
Size 416.9 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
2c027eb2a393d964b22b5c154d1a23a5f8727db6fda837118a776b29e2b8ebc6
BLAKE2b-256 checksum
How to use checksums
9d8088df8bf43b04643715d58e12dc9d2bdc5fa637d6f9333def47f983aab993
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

Release files / tornado-6.0.4-cp36-cp36m-win_amd64.whl

Download URL tornado-6.0.4-cp36-cp36m-win_amd64.whl
Size 417.5 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
c952975c8ba74f546ae6de2e226ab3cc3cc11ae47baf607459a6728585bb542a
BLAKE2b-256 checksum
How to use checksums
8eeaf7f8913dfb5eb5b915228a5ba44de8335fccb1fa38fb56b596d6dfd98290
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

Release files / tornado-6.0.4-cp36-cp36m-win32.whl

Download URL tornado-6.0.4-cp36-cp36m-win32.whl
Size 416.9 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
5f6a07e62e799be5d2330e68d808c8ac41d4a259b9cea61da4101b83cb5dc673
BLAKE2b-256 checksum
How to use checksums
4f4e184e97a06cc21efed6de3374e3c653d31a6ce7f4d2d1cb2e3573b79f809a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

Release files / tornado-6.0.4-cp35-cp35m-win_amd64.whl

Download URL tornado-6.0.4-cp35-cp35m-win_amd64.whl
Size 417.5 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
c98232a3ac391f5faea6821b53db8db461157baa788f5d6222a193e9456e1740
BLAKE2b-256 checksum
How to use checksums
ce27aa9649319dd1f6f77b03e375a41da9c8ade0745307a53e76eb1dba9016d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

Release files / tornado-6.0.4-cp35-cp35m-win32.whl

Download URL tornado-6.0.4-cp35-cp35m-win32.whl
Size 416.9 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
5217e601700f24e966ddab689f90b7ea4bd91ff3357c3600fa1045e26d68e55d
BLAKE2b-256 checksum
How to use checksums
f3d1c876a9de6f5a35bbb583331fc23a9f85321dfbe6548667d3da9e7911bc65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

Release history Release notifications | RSS feed

6.5.9

10 release files

6.5.6

10 release files

6.5.5

10 release files

6.5.4

12 release files

6.5.3

12 release files

6.5.1

12 release files

6.5

12 release files

6.4.2

11 release files

6.4

11 release files

6.3.3

11 release files

6.3.2

11 release files

6.3.1

11 release files

6.3

11 release files

6.2

11 release files

6.1

41 release files

This release

6.0.4 This release

9 release files

6.0.3

7 release files

6.0.2

7 release files

6.0.1

7 release files

6.0

7 release files

5.1.1

7 release files

5.1

7 release files

5.0.2

5 release files

5.0.1

5 release files

5.0

5 release files

4.5.3

5 release files

4.5.2

5 release files

4.5.1

5 release files

4.5

5 release files

4.4.3

3 release files

4.4.2

3 release files

4.4.1

3 release files

4.4

3 release files

4.3

3 release files

4.2.1

1 release file

4.2

1 release file

4.1

1 release file

4.0.2

1 release file

4.0.1

1 release file

4.0

1 release file

3.2.2

1 release file

3.2.1

1 release file

3.2

1 release file

3.1.1

1 release file

3.1

1 release file

3.0.2

1 release file

3.0.1

1 release file

3.0

1 release file

2.4.1

1 release file

2.4

1 release file

2.3

1 release file

2.2.1

1 release file

2.2

1 release file

2.1.1

1 release file

2.1

1 release file

2.0

1 release file

1.2.1

1 release file

1.2

1 release file

1.1.1

1 release file

1.1

1 release file

1.0

1 release file

0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page