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

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

Uploaded Source

Built Distributions

tornado-4.5-cp36-cp36m-win_amd64.whl (422.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

tornado-4.5-cp36-cp36m-win32.whl (421.9 kB view details)

Uploaded CPython 3.6m Windows x86

tornado-4.5-cp35-cp35m-win_amd64.whl (422.4 kB view details)

Uploaded CPython 3.5m Windows x86-64

tornado-4.5-cp35-cp35m-win32.whl (421.9 kB view details)

Uploaded CPython 3.5m Windows x86

File details

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

File metadata

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

File hashes

Hashes for tornado-4.5.tar.gz
Algorithm Hash digest
SHA256 8861cce3c081557cfca2623507290ed647978ea275c29e2e3dfeeb63ca61e855
MD5 d6c7e25ff4a26885a1da9ba085f28c9d
BLAKE2b-256 dba5c8057b0725b8aa43d6aaefe323820aac867986d2e4ce751afaa7fab0b776

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-4.5-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 64f3c23e5c7ca92450dcae70714f7371087fad67566209f225ab561b4cf6636f
MD5 8fd08318e598fa8d5b4699a009dc375f
BLAKE2b-256 1e0a5d4f92e05f40bef04a7f8cddeae1e3e70c7f1cccc3eed840eaa139fb4b99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-4.5-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 25cf0aaac9806ea3bfd2e24eb010b771a47be6abe48763692c5143d12d5fd412
MD5 db43860572d3cd76a0d2416f265a0038
BLAKE2b-256 c15bb70257395a8e9b92f419509b736008a8da051d5f2f6062b8ae24340aef9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-4.5-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 d67786af543a33c88b623c1d7633eef6e2f35b6edebe6e2fd7c9818fbdf454ab
MD5 6ff63bd6024ecd83dccdadecc403b533
BLAKE2b-256 d8849546c2a0b17472ffad02500e36c14101091637c0af09a55eddc65238d5ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tornado-4.5-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 3808544f531c515d1ce3992db2bb37bfa36f0948ead84dd6907920df032c9cff
MD5 43d1dbcdf8138462608e6fc9b964117b
BLAKE2b-256 dc252738db53ddbc6e63544b1cdb183d934e2877e4755a4e51c21a76331f8070

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