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

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

Uploaded Source

Built Distributions

tornado-6.0.1-cp37-cp37m-win_amd64.whl (415.5 kB view details)

Uploaded CPython 3.7m Windows x86-64

tornado-6.0.1-cp37-cp37m-win32.whl (414.9 kB view details)

Uploaded CPython 3.7m Windows x86

tornado-6.0.1-cp36-cp36m-win_amd64.whl (415.5 kB view details)

Uploaded CPython 3.6m Windows x86-64

tornado-6.0.1-cp36-cp36m-win32.whl (414.9 kB view details)

Uploaded CPython 3.6m Windows x86

tornado-6.0.1-cp35-cp35m-win_amd64.whl (415.5 kB view details)

Uploaded CPython 3.5m Windows x86-64

tornado-6.0.1-cp35-cp35m-win32.whl (414.9 kB view details)

Uploaded CPython 3.5m Windows x86

File details

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

File metadata

  • Download URL: tornado-6.0.1.tar.gz
  • Upload date:
  • Size: 481.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for tornado-6.0.1.tar.gz
Algorithm Hash digest
SHA256 de274c65f45f6656c375cdf1759dbf0bc52902a1e999d12a35eb13020a641a53
MD5 63a26fdd0bf1154d4a5e9144b7028dd0
BLAKE2b-256 b17f8109821ff9df1bf3519169e34646705c32ac13be6a4d51a79ed57f47686e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 415.5 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for tornado-6.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 35817031611d2c296c69e5023ea1f9b5720be803e3bb119464bb2a0405d5cd70
MD5 49de42fe78a403954b97a84807255cfe
BLAKE2b-256 a43978b68ebe0505a313128d23d336fdd3512b138f4ade936c6c7db9aeba1c1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 414.9 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for tornado-6.0.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 1a58f2d603476d5e462f7c28ca1dbb5ac7e51348b27a9cac849cdec3471101f8
MD5 7816b4dd3f519084e04dde6d97454042
BLAKE2b-256 85e6238055982a4f039363622c92989997857265223e5a7ac13d5a3775c36786

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 415.5 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for tornado-6.0.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 33f93243cd46dd398e5d2bbdd75539564d1f13f25d704cfc7541db74066d6695
MD5 0c96a2cc477c8682d576c0b29fc56790
BLAKE2b-256 7d8da1c2c9e3051f39a3ecab15be70a04379e95a5926d11219fd881807bb5728

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 414.9 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for tornado-6.0.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 34e59401afcecf0381a28228daad8ed3275bcb726810654612d5e9c001f421b7
MD5 18d3261aeffad76c5cc1cf67227094a8
BLAKE2b-256 f8e0765d7efa0254238a4c8e10b0d82367870fba9b162ff41a0b06967517a68b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.1-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 415.5 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for tornado-6.0.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 666b335cef5cc2759c21b7394cff881f71559aaf7cb8c4458af5bb6cb7275b47
MD5 19dfb5323def061c1637fd1ffa11c47f
BLAKE2b-256 513265032f1e08c83375d00366aa0e4bcb46de5280885a840660455d746d8eba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.1-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 414.9 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for tornado-6.0.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 81203efb26debaaef7158187af45bc440796de9fb1df12a75b65fae11600a255
MD5 8192462fd60bd08b64c205b8d69d8875
BLAKE2b-256 30cd18458058b5cbce728a5172dcdf51e61362551507f8ca333284368f588db3

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