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

Uploaded Source

Built Distributions

tornado-5.1.1-cp37-cp37m-win_amd64.whl (455.0 kB view details)

Uploaded CPython 3.7m Windows x86-64

tornado-5.1.1-cp37-cp37m-win32.whl (454.4 kB view details)

Uploaded CPython 3.7m Windows x86

tornado-5.1.1-cp36-cp36m-win_amd64.whl (455.0 kB view details)

Uploaded CPython 3.6m Windows x86-64

tornado-5.1.1-cp36-cp36m-win32.whl (454.4 kB view details)

Uploaded CPython 3.6m Windows x86

tornado-5.1.1-cp35-cp35m-win_amd64.whl (455.0 kB view details)

Uploaded CPython 3.5m Windows x86-64

tornado-5.1.1-cp35-cp35m-win32.whl (454.4 kB view details)

Uploaded CPython 3.5m Windows x86

File details

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

File metadata

  • Download URL: tornado-5.1.1.tar.gz
  • Upload date:
  • Size: 516.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.6

File hashes

Hashes for tornado-5.1.1.tar.gz
Algorithm Hash digest
SHA256 4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409
MD5 a1ce4f392d30ff0ebcb255150d89b826
BLAKE2b-256 e6786e7b5af12c12bdf38ca9bfe863fcaf53dc10430a312d0324e76c1e5ca426

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-5.1.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 455.0 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.6

File hashes

Hashes for tornado-5.1.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 8e9d728c4579682e837c92fdd98036bd5cdefa1da2aaf6acf26947e6dd0c01c5
MD5 0011a1fde37d5bb0d053c9c07e36a9b6
BLAKE2b-256 d7d599aff77c15da335e3dbf30254b304a526494dca8e51b4b47419772e35a4e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-5.1.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 454.4 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.6

File hashes

Hashes for tornado-5.1.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 e5f2585afccbff22390cddac29849df463b252b711aa2ce7c5f3f342a5b3b444
MD5 57b787dca6406690d16209b6071fae35
BLAKE2b-256 d41b191715afe5a4fbcb285e3292dfbe21f449f05b1edd85abc8c671bde5e9b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-5.1.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 455.0 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.6

File hashes

Hashes for tornado-5.1.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 d4b3e5329f572f055b587efc57d29bd051589fb5a43ec8898c77a47ec2fa2bbb
MD5 8225d6e21891a097e4dcb3ca9a328156
BLAKE2b-256 ab0e8ec7ed219cb35fffe2f2cddbfa02b47ba5d23dd9026a41b3f2bdd63cdec3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-5.1.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 454.4 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.6

File hashes

Hashes for tornado-5.1.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 8154ec22c450df4e06b35f131adc4f2f3a12ec85981a203301d310abf580500f
MD5 e432dd2ff2bea43a1726c9f1b9bd8bb3
BLAKE2b-256 9bf2638d6bd2140f92390700201c233625ae10459f7469079e13d693999cd938

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-5.1.1-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 455.0 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.6

File hashes

Hashes for tornado-5.1.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 0662d28b1ca9f67108c7e3b77afabfb9c7e87bde174fbda78186ecedc2499a9d
MD5 78f38ff7320babe34c87971bb841be5e
BLAKE2b-256 cd94e7c9a8b205215350086879b078af3e47b96384188566075b0ccb288ecf3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tornado-5.1.1-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 454.4 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.6

File hashes

Hashes for tornado-5.1.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 732e836008c708de2e89a31cb2fa6c0e5a70cb60492bee6f1ea1047500feaf7f
MD5 a718fae1ffb6d62266668270ae09c948
BLAKE2b-256 940360bf4d3c9c3c984fa215c719a07e672a65cbcd727c1437c3b526c5c7ab90

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