Skip to main content

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 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 4.3

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

Built distributions (wheels)

Table of built distributions (wheels) for tornado 4.3
File Interpreter ABI Platform
tornado-4.3-cp35-none-win_amd64.whl CPython 3.5 none Windows x86-64 Details
tornado-4.3-cp35-none-win32.whl CPython 3.5 none Windows x86-32 Details

Total release size: 1.2 MB

Release files / tornado-4.3.tar.gz

Download URL tornado-4.3.tar.gz
Size 450.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c9c2d32593d16eedf2cec1b6a41893626a2649b40b21ca9c4cac4243bde2efbf
BLAKE2b-256 checksum
How to use checksums
2129e64c97013e97d42d93b3d5997234a6f17455f3744847a7c16289289f8fa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / tornado-4.3-cp35-none-win_amd64.whl

Download URL tornado-4.3-cp35-none-win_amd64.whl
Size 398.4 kB
Tags CPython 3.5 Windows x86-64
SHA-256 checksum
How to use checksums
295e1f38225ce2bdd85a0524e265e9adea40507333829f3a7d64c588dd78ff21
BLAKE2b-256 checksum
How to use checksums
d51fefed2f65ad59020bc09fbea9886fff7b98da8f0d4db65156b6c7a7324f50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / tornado-4.3-cp35-none-win32.whl

Download URL tornado-4.3-cp35-none-win32.whl
Size 397.8 kB
Tags CPython 3.5 Windows x86-32
SHA-256 checksum
How to use checksums
042255160bb1976d2aa3d9e0f32ac7f8c1bc2dfab7b2c86688a3bd6088ba90e1
BLAKE2b-256 checksum
How to use checksums
7faf2522991e353583fc184d27933d75f39de2a25cf11df246c137867b1f2ca9
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

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

This release

4.3 This release

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