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

Metadata

Release files for tornado 5.0

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 5.0
File Size Uploaded
tornado-5.0.tar.gz 504.1 kB Details

Built distributions (wheels)

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

Total release size: 2.3 MB

Release files / tornado-5.0.tar.gz

Download URL tornado-5.0.tar.gz
Size 504.1 kB
Tags Source
SHA-256 checksum
How to use checksums
62f754562c61ea94b00d61727202105068bc2760f076cc34d2da1a57041731aa
BLAKE2b-256 checksum
How to use checksums
594b2c992ec4feb904471125702ed1dd3c912de1630c03bd555c3b05a41da93e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL tornado-5.0-cp36-cp36m-win_amd64.whl
Size 438.4 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
4b6a623a28307c5d5d64b34ed7c84f2bfcc6848fd71546bb8bc03dd82b71ad04
BLAKE2b-256 checksum
How to use checksums
91ac36608f18f4d3efb79e4d3c527d298c0bf99c7131a1e86e617ea1ad2ed9bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL tornado-5.0-cp36-cp36m-win32.whl
Size 437.8 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
6b56415667b1ad4f222486baa7118d5445310fd9b99a2263e029bc63df6e2e80
BLAKE2b-256 checksum
How to use checksums
6f8c02ac3a96ca431e0b10db7b3451df5424057ec4f088038268e1c6f32b82a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL tornado-5.0-cp35-cp35m-win_amd64.whl
Size 438.4 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
f112ae0b50d2080995afab36aca4fcd93af1fa2e7185b15d854b0d6b2578dce4
BLAKE2b-256 checksum
How to use checksums
48213d3fcdb48b589b840dafb71ad5007fa419226adc8e7894673db322fc8b24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL tornado-5.0-cp35-cp35m-win32.whl
Size 437.8 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
54a568429fb77529622a4607c66f9144aa980bd4fe2326206672707eba6951fc
BLAKE2b-256 checksum
How to use checksums
ed5e526afbe26bb3e1538164e3ddb7f6bdf973509d30e9e8cc204e85c0961170
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

6.0.4

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

This release

5.0 This release

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