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

This version

5.0.2

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

Uploaded Source

Built Distributions

tornado-5.0.2-cp36-cp36m-win_amd64.whl (439.1 kB view details)

Uploaded CPython 3.6m Windows x86-64

tornado-5.0.2-cp36-cp36m-win32.whl (438.5 kB view details)

Uploaded CPython 3.6m Windows x86

tornado-5.0.2-cp35-cp35m-win_amd64.whl (439.1 kB view details)

Uploaded CPython 3.5m Windows x86-64

tornado-5.0.2-cp35-cp35m-win32.whl (438.5 kB view details)

Uploaded CPython 3.5m Windows x86

File details

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

File metadata

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

File hashes

Hashes for tornado-5.0.2.tar.gz
Algorithm Hash digest
SHA256 1b83d5c10550f2653380b4c77331d6f8850f287c4f67d7ce1e1c639d9222fbc7
MD5 e5e24ce1c8a4e6442dc38d470172f59e
BLAKE2b-256 cfd13be271ae5eba9fb59df63c9891fdc7d8044b999e8ac145994cdbfd2ae66a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-5.0.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c050089173c2e9272244bccfb6a8615fb9e53b79420a5551acfa76094ecc3111
MD5 e4e71239ab335640cd3c01d068c6c5ed
BLAKE2b-256 3d4a5b321dc86dec06205cfae8e06fd9fa78be57e199b8665dc152c56f7d5b53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-5.0.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 408d129e9d13d3c55aa73f8084aa97d5f90ed84132e38d6932e63a67d5bec563
MD5 c57c4fa4c70ca12fff8490fc6f8c56e5
BLAKE2b-256 9bafddd8ba22a47979b5a6538fd712d1f647e23c5590165d927d82ebddf8d457

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-5.0.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 ba9fbb249ac5390bff8a1d6aa4b844fd400701069bda7d2e380dfe2217895101
MD5 9677fa9d2dbbcfbada5120a7de805e83
BLAKE2b-256 fc49212a0ec5b9aad7629c9b25436e256ef3797b8fe06c4b190fa22e9589e47f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-5.0.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 88ce0282cce70df9045e515f578c78f1ebc35dcabe1d70f800c3583ebda7f5f5
MD5 e6fa319ec02ada40cf430811c0828034
BLAKE2b-256 1a72426796781f8afc76da366365c473e4ef5b0dd1d70d2616517070ebd08413

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