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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tornado-5.0.tar.gz (504.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tornado-5.0-cp36-cp36m-win_amd64.whl (438.4 kB view details)

Uploaded CPython 3.6mWindows x86-64

tornado-5.0-cp36-cp36m-win32.whl (437.8 kB view details)

Uploaded CPython 3.6mWindows x86

tornado-5.0-cp35-cp35m-win_amd64.whl (438.4 kB view details)

Uploaded CPython 3.5mWindows x86-64

tornado-5.0-cp35-cp35m-win32.whl (437.8 kB view details)

Uploaded CPython 3.5mWindows x86

File details

Details for the file tornado-5.0.tar.gz.

File metadata

  • Download URL: tornado-5.0.tar.gz
  • Upload date:
  • Size: 504.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tornado-5.0.tar.gz
Algorithm Hash digest
SHA256 62f754562c61ea94b00d61727202105068bc2760f076cc34d2da1a57041731aa
MD5 9afb40d1722c3492df266709528373fc
BLAKE2b-256 594b2c992ec4feb904471125702ed1dd3c912de1630c03bd555c3b05a41da93e

See more details on using hashes here.

File details

Details for the file tornado-5.0-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for tornado-5.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 4b6a623a28307c5d5d64b34ed7c84f2bfcc6848fd71546bb8bc03dd82b71ad04
MD5 6a4f52f9b4df2b12ba34fd87c0541a5c
BLAKE2b-256 91ac36608f18f4d3efb79e4d3c527d298c0bf99c7131a1e86e617ea1ad2ed9bb

See more details on using hashes here.

File details

Details for the file tornado-5.0-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for tornado-5.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 6b56415667b1ad4f222486baa7118d5445310fd9b99a2263e029bc63df6e2e80
MD5 93845a74f5569e8181791ea5c6a9c951
BLAKE2b-256 6f8c02ac3a96ca431e0b10db7b3451df5424057ec4f088038268e1c6f32b82a2

See more details on using hashes here.

File details

Details for the file tornado-5.0-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for tornado-5.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 f112ae0b50d2080995afab36aca4fcd93af1fa2e7185b15d854b0d6b2578dce4
MD5 9eb5ba16a2d9ad076360c2f89427e335
BLAKE2b-256 48213d3fcdb48b589b840dafb71ad5007fa419226adc8e7894673db322fc8b24

See more details on using hashes here.

File details

Details for the file tornado-5.0-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for tornado-5.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 54a568429fb77529622a4607c66f9144aa980bd4fe2326206672707eba6951fc
MD5 967f246011159deb81a75ac283a26527
BLAKE2b-256 ed5e526afbe26bb3e1538164e3ddb7f6bdf973509d30e9e8cc204e85c0961170

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

5.0

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page