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

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

Uploaded Source

Built Distributions

tornado-6.0-cp37-cp37m-win_amd64.whl (415.4 kB view details)

Uploaded CPython 3.7m Windows x86-64

tornado-6.0-cp37-cp37m-win32.whl (414.8 kB view details)

Uploaded CPython 3.7m Windows x86

tornado-6.0-cp36-cp36m-win_amd64.whl (415.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

tornado-6.0-cp36-cp36m-win32.whl (414.8 kB view details)

Uploaded CPython 3.6m Windows x86

tornado-6.0-cp35-cp35m-win_amd64.whl (415.4 kB view details)

Uploaded CPython 3.5m Windows x86-64

tornado-6.0-cp35-cp35m-win32.whl (414.8 kB view details)

Uploaded CPython 3.5m Windows x86

File details

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

File metadata

  • Download URL: tornado-6.0.tar.gz
  • Upload date:
  • Size: 481.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.2

File hashes

Hashes for tornado-6.0.tar.gz
Algorithm Hash digest
SHA256 3f8db1394416371fb3a7a56062c77366cf10f8c4d81626df0135a2b2a7e26d2f
MD5 6b6f8f2508886f56c5377a888ea6062d
BLAKE2b-256 661e09fc514376ad53b3a0d822dc2b7e1de8edefb48ff75ada1948c46c63cfdd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 415.4 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-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e90c5fa57a84b1cbd36c656a35a3dd07d130bcca8a2b5ee8cb0f16479bb6e4e3
MD5 af1845689766f5a0b46d182f0f3c36db
BLAKE2b-256 71460b49a1d2f675004747b56cef2648c3e2a22f10d3c2924ddeae541f5fc582

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 414.8 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-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 d675dd93cdad3545e619ce609451a7f77851bd5c3f34c58a1e01f5fd119f40f9
MD5 146980a6e63f20a922acec0d3f02a5f9
BLAKE2b-256 2a84f2a686310b031fbc11b5cb083d22c24af60851f8f63ec9abb13eef5fd6b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 415.4 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-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 5e9565c293e904c5642752b2ae0cefe932cd201e82a81cd6ee3480b0448d0250
MD5 a1fcb3cfdb77fb4ac2306c78954f4f22
BLAKE2b-256 2f82fd48b6a085178e7aed5e16fce4320a573a464e28fd9aac71206da6faa36c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 414.8 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-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 981dfdac0308eca069447e4b4fbb029cc91627f58dd7a5f35a97d6245ab5824d
MD5 7ce954a327ec9cbc3dcb6533a2ae737d
BLAKE2b-256 5928f0f3f467e5ed56be72e781b4a938754e910009fe950b7182aca9d0cbd8c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 415.4 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-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 434a2821caa09cf96ffccbfaf101b8c27c4f9eee8f9e5ba933c6c4dc4c7eabbe
MD5 31abe06bacbe2742c67e6c5beeb2a319
BLAKE2b-256 894139145b8230b5ffbe998ac403a42cc469e4ba2a27b7465abf9fb251a87260

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-6.0-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 414.8 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-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 50e3fe9265938d36dd1744e395669555caf161ca5bf46c56d612866cbcda4869
MD5 75d903a3334e50028666f1a6edcbb336
BLAKE2b-256 2e48609ec43fa4e4707742fe16991136f1906dc051267d453e882c1bd22064b8

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