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

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

Uploaded Source

Built Distributions

tornado-6.0.3-cp37-cp37m-win_amd64.whl (415.8 kB view details)

Uploaded CPython 3.7m Windows x86-64

tornado-6.0.3-cp37-cp37m-win32.whl (415.2 kB view details)

Uploaded CPython 3.7m Windows x86

tornado-6.0.3-cp36-cp36m-win_amd64.whl (415.9 kB view details)

Uploaded CPython 3.6m Windows x86-64

tornado-6.0.3-cp36-cp36m-win32.whl (415.2 kB view details)

Uploaded CPython 3.6m Windows x86

tornado-6.0.3-cp35-cp35m-win_amd64.whl (415.8 kB view details)

Uploaded CPython 3.5m Windows x86-64

tornado-6.0.3-cp35-cp35m-win32.whl (415.2 kB view details)

Uploaded CPython 3.5m Windows x86

File details

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

File metadata

  • Download URL: tornado-6.0.3.tar.gz
  • Upload date:
  • Size: 482.4 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.3

File hashes

Hashes for tornado-6.0.3.tar.gz
Algorithm Hash digest
SHA256 c845db36ba616912074c5b1ee897f8e0124df269468f25e4fe21fe72f6edd7a9
MD5 cab4b11480f6d032e46465586192d343
BLAKE2b-256 30782d2823598496127b21423baffaa186b668f73cd91887fcef78b6eade136b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 415.8 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.3

File hashes

Hashes for tornado-6.0.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 abbe53a39734ef4aba061fca54e30c6b4639d3e1f59653f0da37a0003de148c7
MD5 24be06eabfe494458e2a9dc63e57929c
BLAKE2b-256 4ef886ab848da5c79715f901e22bc23d2dc467b8672fe1eda8d3e1f48cba130c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.3-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 415.2 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.3

File hashes

Hashes for tornado-6.0.3-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 559bce3d31484b665259f50cd94c5c28b961b09315ccd838f284687245f416e5
MD5 7dc39a1772528a96fef9d393c283bed1
BLAKE2b-256 352ece3f7426ee077fa376facfc9aa3fc83f9dd3d0281270e95864efd8ba6f77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 415.9 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.3

File hashes

Hashes for tornado-6.0.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 349884248c36801afa19e342a77cc4458caca694b0eda633f5878e458a44cb2c
MD5 a2dda7557256903aaec911706ac7a555
BLAKE2b-256 350bbcd855847d58600627b17c64535567a871731e81f0f75d2065f72fe58671

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.3-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 415.2 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.3

File hashes

Hashes for tornado-6.0.3-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 4e73ef678b1a859f0cb29e1d895526a20ea64b5ffd510a2307b5998c7df24281
MD5 491f277a9a8f12c852cf2347c9c4a60d
BLAKE2b-256 95acfdbd1d2d31a9a0bb2affcb63224440013fcfd055ff5afb30a272dfd86273

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.3-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 415.8 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.3

File hashes

Hashes for tornado-6.0.3-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 398e0d35e086ba38a0427c3b37f4337327231942e731edaa6e9fd1865bbd6f60
MD5 4d7099d908370ea08d9e95e9d4750d36
BLAKE2b-256 bc14afac6e6d8ccb77892c80590ca001c83045f0b024f7f74c11ef139769d2ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.3-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 415.2 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.3

File hashes

Hashes for tornado-6.0.3-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 c9399267c926a4e7c418baa5cbe91c7d1cf362d505a1ef898fde44a07c9dd8a5
MD5 8244243e82a1b5df6ee225221064d01a
BLAKE2b-256 2d71efa3e01c3bb6dde28f88c71592eb6ba557e21812b7410bfa01ea752296d9

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