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.1

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

Uploaded Source

Built Distributions

tornado-5.1-cp37-cp37m-win_amd64.whl (450.4 kB view details)

Uploaded CPython 3.7m Windows x86-64

tornado-5.1-cp37-cp37m-win32.whl (449.8 kB view details)

Uploaded CPython 3.7m Windows x86

tornado-5.1-cp36-cp36m-win_amd64.whl (450.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

tornado-5.1-cp36-cp36m-win32.whl (449.8 kB view details)

Uploaded CPython 3.6m Windows x86

tornado-5.1-cp35-cp35m-win_amd64.whl (450.4 kB view details)

Uploaded CPython 3.5m Windows x86-64

tornado-5.1-cp35-cp35m-win32.whl (449.8 kB view details)

Uploaded CPython 3.5m Windows x86

File details

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

File metadata

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

File hashes

Hashes for tornado-5.1.tar.gz
Algorithm Hash digest
SHA256 4f66a2172cb947387193ca4c2c3e19131f1c70fa8be470ddbbd9317fd0801582
MD5 bd264851c409f926d1dae1ad5055d28d
BLAKE2b-256 45ecf2a03a0509bcfca336bef23a3dab0d07504893af34fd13064059ba4a0503

See more details on using hashes here.

File details

Details for the file tornado-5.1-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for tornado-5.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 1c0816fc32b7d31b98781bd8ebc7a9726d7dce67407dc353a2e66e697e138448
MD5 6ce0b0fc91d8065e319fdaa5d7af5abf
BLAKE2b-256 f3cbe3027d1216afb74aa37ceaae32628e5bfade25e6e1819b4209de96b9a120

See more details on using hashes here.

File details

Details for the file tornado-5.1-cp37-cp37m-win32.whl.

File metadata

File hashes

Hashes for tornado-5.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 c58757e37c4a3172949c99099d4d5106e4d7b63aa0617f9bb24bfbff712c7866
MD5 7bf8033fb11f02d4ca8b743365e56e02
BLAKE2b-256 3dbcd95632f76dc90edb6831804c1c4c631cf5dfc9b5edaceb658395ae321a48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-5.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 a9b14804783a1d77c0bd6c66f7a9b1196cbddfbdf8bceb64683c5ae60bd1ec6f
MD5 65e3c0c2cd67dde8cd405ee1aad1cc8f
BLAKE2b-256 8bd64e4a9282a3fb8555dca2369e827bd844c7f2d1a59c5790d3bfd97eb66206

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-5.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 5327ba1a6c694e0149e7d9126426b3704b1d9d520852a3e4aa9fc8fe989e4046
MD5 345788ad6ea0a746001706c2f1236327
BLAKE2b-256 5a48264b4f06af58029dda214d6af9e9ef566673761f7f2899d40d8755fd1072

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-5.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 6a7e8657618268bb007646b9eae7661d0b57f13efc94faa33cd2588eae5912c9
MD5 1e28127adbd2fddc2ca2b3c5860e1e79
BLAKE2b-256 81729e8ac9205157c9221d00df4388c21895b049dff053f38d12045265d338da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-5.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 d8984742ce86c0855cccecd5c6f54a9f7532c983947cff06f3a0e2115b47f85c
MD5 458403c751bb32c9b9d1a9f5c605407b
BLAKE2b-256 f14765870e80e5b8071198cf794aff34b1151b9a1679f7278b28c3585cd5030e

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