Skip to main content

Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.

Project description

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

Project details


Release history Release notifications | RSS feed

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.1.tar.gz (504.1 kB view details)

Uploaded Source

Built Distributions

tornado-5.0.1-cp36-cp36m-win_amd64.whl (438.6 kB view details)

Uploaded CPython 3.6m Windows x86-64

tornado-5.0.1-cp36-cp36m-win32.whl (438.0 kB view details)

Uploaded CPython 3.6m Windows x86

tornado-5.0.1-cp35-cp35m-win_amd64.whl (438.6 kB view details)

Uploaded CPython 3.5m Windows x86-64

tornado-5.0.1-cp35-cp35m-win32.whl (438.0 kB view details)

Uploaded CPython 3.5m Windows x86

File details

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

File metadata

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

File hashes

Hashes for tornado-5.0.1.tar.gz
Algorithm Hash digest
SHA256 3e9a2333362d3dad7876d902595b64aea1a2f91d0df13191ea1f8bca5a447771
MD5 3f6b0b8658c111fa3c518f02d87d05e8
BLAKE2b-256 66605b34caa5014eb3f1deb16d0e72cc08abeec7a9c9823486da7984ddadc95f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-5.0.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 4d192236a9ffee54cb0032f22a8a0cfa64258872f1d83d71f3356681f69a37be
MD5 91d98941cb43d8ad4b301a6e31f0d01e
BLAKE2b-256 033b90ebd50d40bfa423b6d2ebecf337f8b1ec14f4beb468b2ffe40957d6f5d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-5.0.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 b5bf7407f88327b80e666dabf91a1e7beb11236855a5c65ba5cf0e9e25ae296b
MD5 307869d2f7490e750f201851c2184301
BLAKE2b-256 87a6782c11a9098339273cba06fd0dd8a3e3ebfcc6eea83aa77774c5189046e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-5.0.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 186ba4f280429a24120f329c7c08ea91818ff6bf47ed2ccb66f8f460698fc4ed
MD5 92339f296340dedb2ccaaf53443d681a
BLAKE2b-256 84e17bf81a21fbf2f267f5e0c75c3fa1359469b24cdc9de9be6c5edbdcf8726e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-5.0.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 69194436190b777abf0b631a692b0b29ba4157d18eeee07327b486e033b944dc
MD5 2335559d27deb8e14b504fcb30291131
BLAKE2b-256 410b42fbdbf887bffc1c007927b6025e88523bfafdc07e054cf4c7a0342ab540

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page