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

Uploaded Source

Built Distributions

tornado-6.0.2-cp37-cp37m-win_amd64.whl (415.6 kB view details)

Uploaded CPython 3.7m Windows x86-64

tornado-6.0.2-cp37-cp37m-win32.whl (415.0 kB view details)

Uploaded CPython 3.7m Windows x86

tornado-6.0.2-cp36-cp36m-win_amd64.whl (415.6 kB view details)

Uploaded CPython 3.6m Windows x86-64

tornado-6.0.2-cp36-cp36m-win32.whl (415.0 kB view details)

Uploaded CPython 3.6m Windows x86

tornado-6.0.2-cp35-cp35m-win_amd64.whl (415.6 kB view details)

Uploaded CPython 3.5m Windows x86-64

tornado-6.0.2-cp35-cp35m-win32.whl (415.0 kB view details)

Uploaded CPython 3.5m Windows x86

File details

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

File metadata

  • Download URL: tornado-6.0.2.tar.gz
  • Upload date:
  • Size: 481.8 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.2.tar.gz
Algorithm Hash digest
SHA256 457fcbee4df737d2defc181b9073758d73f54a6cfc1f280533ff48831b39f4a8
MD5 7d13a9ffbd232c7e89a8215e2cf0f5cd
BLAKE2b-256 033f5f89d99fca3c0100c8cede4f53f660b126d39e0d6a1e943e95cc3ed386fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 415.6 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.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 1174dcb84d08887b55defb2cda1986faeeea715fff189ef3dc44cce99f5fca6b
MD5 81d0986379068aca96ee267c219a501a
BLAKE2b-256 9e00a59e32058b5ada2853e1ad4b0c0fc210d6814345415624aa4720875193ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.2-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 415.0 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.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 49603e1a6e24104961497ad0c07c799aec1caac7400a6762b687e74c8206677d
MD5 2cccc6fb77e7d63652ffacbeea6df347
BLAKE2b-256 ab48d7ddf64811647896c4c96f9c1b8ccda5b8222f0649f230dc444a347b2897

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 415.6 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.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 e1d897889c3b5a829426b7d52828fb37b28bc181cd598624e65c8be40ee3f7fa
MD5 68933031b20001cf60ad8406c8a430a5
BLAKE2b-256 9d768a52c49e0a7e2638442f379d34f55232c773d4df7f69b297e451c980f99d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.2-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 415.0 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.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 8c2f40b99a8153893793559919a355d7b74649a11e59f411b0b0a1793e160bc0
MD5 f5f7743a36203214aeb74c3405ad8cdc
BLAKE2b-256 88457cccaafb7d581a879b4a0c39b2f73370c33da63e399ff1e8ed93dfa49737

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.2-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 415.6 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.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 2613fab506bd2aedb3722c8c64c17f8f74f4070afed6eea17f20b2115e445aec
MD5 f603fdc86d2222bac29d37f592557773
BLAKE2b-256 ecd7c4d334ba5892ba65312c879980a099bd5ecd61368773b808ab126b8e911b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0.2-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 415.0 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.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 44b82bc1146a24e5b9853d04c142576b4e8fa7a92f2e30bc364a85d1f75c4de2
MD5 4a3be5568d8b7d59d8f2e76b30b187d3
BLAKE2b-256 62d348e9f0d0c54d1e8484a19b0f886b549150f9c0bb7d84051d920b5dd8c1b0

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