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

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

Uploaded Source

Built Distributions

tornado-6.0.4-cp38-cp38-win_amd64.whl (417.5 kB view details)

Uploaded CPython 3.8 Windows x86-64

tornado-6.0.4-cp38-cp38-win32.whl (416.9 kB view details)

Uploaded CPython 3.8 Windows x86

tornado-6.0.4-cp37-cp37m-win_amd64.whl (417.5 kB view details)

Uploaded CPython 3.7m Windows x86-64

tornado-6.0.4-cp37-cp37m-win32.whl (416.9 kB view details)

Uploaded CPython 3.7m Windows x86

tornado-6.0.4-cp36-cp36m-win_amd64.whl (417.5 kB view details)

Uploaded CPython 3.6m Windows x86-64

tornado-6.0.4-cp36-cp36m-win32.whl (416.9 kB view details)

Uploaded CPython 3.6m Windows x86

tornado-6.0.4-cp35-cp35m-win_amd64.whl (417.5 kB view details)

Uploaded CPython 3.5m Windows x86-64

tornado-6.0.4-cp35-cp35m-win32.whl (416.9 kB view details)

Uploaded CPython 3.5m Windows x86

File details

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

File metadata

  • Download URL: tornado-6.0.4.tar.gz
  • Upload date:
  • Size: 496.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

File hashes

Hashes for tornado-6.0.4.tar.gz
Algorithm Hash digest
SHA256 0fe2d45ba43b00a41cd73f8be321a44936dc1aba233dee979f17a042b83eb6dc
MD5 cf39425f3d7eba9a54287f3e795a2f23
BLAKE2b-256 9584119a46d494f008969bf0c775cb2c6b3579d3c4cc1bb1b41a022aa93ee242

See more details on using hashes here.

File details

Details for the file tornado-6.0.4-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: tornado-6.0.4-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 417.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

File hashes

Hashes for tornado-6.0.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c58d56003daf1b616336781b26d184023ea4af13ae143d9dda65e31e534940b9
MD5 8058233ac2a78e857bb8fefce69281e7
BLAKE2b-256 0c0448f7aca638106a57a94f9f3921fae27a9010076bccc9d31eef99c62ffaf5

See more details on using hashes here.

File details

Details for the file tornado-6.0.4-cp38-cp38-win32.whl.

File metadata

  • Download URL: tornado-6.0.4-cp38-cp38-win32.whl
  • Upload date:
  • Size: 416.9 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

File hashes

Hashes for tornado-6.0.4-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 22aed82c2ea340c3771e3babc5ef220272f6fd06b5108a53b4976d0d722bcd52
MD5 5de9cd43b7162fa544d682c3e42942fe
BLAKE2b-256 303891349845eea916575ddbe59a08866de3661b1e4564d42a845545066d51c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.4-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 417.5 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

File hashes

Hashes for tornado-6.0.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 5618f72e947533832cbc3dec54e1dffc1747a5cb17d1fd91577ed14fa0dc081b
MD5 9373674868c6371c854dfdffe60673b4
BLAKE2b-256 2cbfe5431e00de9eb08f0aed3f8aa1c9bc3e0514bb604aba2f73dfb2d19f507a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.4-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 416.9 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

File hashes

Hashes for tornado-6.0.4-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 2c027eb2a393d964b22b5c154d1a23a5f8727db6fda837118a776b29e2b8ebc6
MD5 61db1027c97a93b51189b09a83aa0644
BLAKE2b-256 9d8088df8bf43b04643715d58e12dc9d2bdc5fa637d6f9333def47f983aab993

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.4-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 417.5 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

File hashes

Hashes for tornado-6.0.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c952975c8ba74f546ae6de2e226ab3cc3cc11ae47baf607459a6728585bb542a
MD5 3d2dd0ba353282391dc343569a2d1ba5
BLAKE2b-256 8eeaf7f8913dfb5eb5b915228a5ba44de8335fccb1fa38fb56b596d6dfd98290

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.4-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 416.9 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

File hashes

Hashes for tornado-6.0.4-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 5f6a07e62e799be5d2330e68d808c8ac41d4a259b9cea61da4101b83cb5dc673
MD5 1f834aab1d92b2a4ab70f1f946bbc0ef
BLAKE2b-256 4f4e184e97a06cc21efed6de3374e3c653d31a6ce7f4d2d1cb2e3573b79f809a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.4-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 417.5 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

File hashes

Hashes for tornado-6.0.4-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 c98232a3ac391f5faea6821b53db8db461157baa788f5d6222a193e9456e1740
MD5 7ab7824580876340944a6e52ccc04f80
BLAKE2b-256 ce27aa9649319dd1f6f77b03e375a41da9c8ade0745307a53e76eb1dba9016d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.4-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 416.9 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.1

File hashes

Hashes for tornado-6.0.4-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 5217e601700f24e966ddab689f90b7ea4bd91ff3357c3600fa1045e26d68e55d
MD5 a7b88c772ba5034939cc14b1266ad401
BLAKE2b-256 f3d1c876a9de6f5a35bbb583331fc23a9f85321dfbe6548667d3da9e7911bc65

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