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

4.5.3

Download files

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

Source Distribution

tornado-4.5.3.tar.gz (484.2 kB view details)

Uploaded Source

Built Distributions

tornado-4.5.3-cp36-cp36m-win_amd64.whl (423.3 kB view details)

Uploaded CPython 3.6m Windows x86-64

tornado-4.5.3-cp36-cp36m-win32.whl (422.8 kB view details)

Uploaded CPython 3.6m Windows x86

tornado-4.5.3-cp35-cp35m-win_amd64.whl (423.3 kB view details)

Uploaded CPython 3.5m Windows x86-64

tornado-4.5.3-cp35-cp35m-win32.whl (422.8 kB view details)

Uploaded CPython 3.5m Windows x86

File details

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

File metadata

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

File hashes

Hashes for tornado-4.5.3.tar.gz
Algorithm Hash digest
SHA256 6d14e47eab0e15799cf3cdcc86b0b98279da68522caace2bd7ce644287685f0a
MD5 a5fc7fd4aea94867609a491ce65786f1
BLAKE2b-256 e37be29ab3d51c8df66922fea216e2bddfcb6430fb29620e5165b16a216e0d3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-4.5.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 5ef073ac6180038ccf99411fe05ae9aafb675952a2c8db60592d5daf8401f803
MD5 88a1fe196dfdf6a24ab0d1f7e51e522d
BLAKE2b-256 0a2901057551db50f718fda2afa0e42abdfccca4f8b18fa6163c59588ae8e991

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-4.5.3-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 ab587996fe6fb9ce65abfda440f9b61e4f9f2cf921967723540679176915e4c3
MD5 8301f2b0f8b67029c0ccd879c3f218a2
BLAKE2b-256 bb2e114e8a02438bc18417ce19e916107e359e49ad3538731e9e9726f741d766

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-4.5.3-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 b36298e9f63f18cad97378db2222c0e0ca6a55f6304e605515e05a25483ed51a
MD5 3e39a6518c1e305fb06ab2b0c110f0ad
BLAKE2b-256 1a6379ba038d5e20f3f72ae8cf41decb36f638089af90c34807e3c6777e83cab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-4.5.3-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 92b7ca81e18ba9ec3031a7ee73d4577ac21d41a0c9b775a9182f43301c3b5f8e
MD5 ba2f5d4f7f85d06eb431870e41deb27d
BLAKE2b-256 0379a9839a803f24b36d98c5a0c56c2b73ee55483bfe39224789e873eb0d042f

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