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 asyncio
import tornado

class MainHandler(tornado.web.RequestHandler):
    def get(self):
        self.write("Hello, world")

def make_app():
    return tornado.web.Application([
        (r"/", MainHandler),
    ])

async def main():
    app = make_app()
    app.listen(8888)
    await asyncio.Event().wait()

if __name__ == "__main__":
    asyncio.run(main())

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 https://www.tornadoweb.org

Project details


Release history Release notifications | RSS feed

This version

6.4.1

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

Uploaded Source

Built Distributions

tornado-6.4.1-cp38-abi3-win_amd64.whl (438.5 kB view details)

Uploaded CPython 3.8+ Windows x86-64

tornado-6.4.1-cp38-abi3-win32.whl (438.1 kB view details)

Uploaded CPython 3.8+ Windows x86

tornado-6.4.1-cp38-abi3-musllinux_1_2_x86_64.whl (436.9 kB view details)

Uploaded CPython 3.8+ musllinux: musl 1.2+ x86-64

tornado-6.4.1-cp38-abi3-musllinux_1_2_i686.whl (437.0 kB view details)

Uploaded CPython 3.8+ musllinux: musl 1.2+ i686

tornado-6.4.1-cp38-abi3-musllinux_1_2_aarch64.whl (437.5 kB view details)

Uploaded CPython 3.8+ musllinux: musl 1.2+ ARM64

tornado-6.4.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (437.2 kB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ ARM64

tornado-6.4.1-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (436.8 kB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

tornado-6.4.1-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (436.6 kB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

tornado-6.4.1-cp38-abi3-macosx_10_9_x86_64.whl (433.9 kB view details)

Uploaded CPython 3.8+ macOS 10.9+ x86-64

tornado-6.4.1-cp38-abi3-macosx_10_9_universal2.whl (435.9 kB view details)

Uploaded CPython 3.8+ macOS 10.9+ universal2 (ARM64, x86-64)

File details

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

File metadata

  • Download URL: tornado-6.4.1.tar.gz
  • Upload date:
  • Size: 500.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for tornado-6.4.1.tar.gz
Algorithm Hash digest
SHA256 92d3ab53183d8c50f8204a51e6f91d18a15d5ef261e84d452800d4ff6fc504e9
MD5 07ebd88a2a7acee1b819738f3f4ca7ef
BLAKE2b-256 ee66398ac7167f1c7835406888a386f6d0d26ee5dbf197d8a571300be57662d3

See more details on using hashes here.

File details

Details for the file tornado-6.4.1-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: tornado-6.4.1-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 438.5 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for tornado-6.4.1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b24b8982ed444378d7f21d563f4180a2de31ced9d8d84443907a0a64da2072e7
MD5 dafdfc3226d38b2ecf5d49e2737e5ed6
BLAKE2b-256 d92f3f2f05e84a7aff787a96d5fb06821323feb370fe0baed4db6ea7b1088f32

See more details on using hashes here.

File details

Details for the file tornado-6.4.1-cp38-abi3-win32.whl.

File metadata

  • Download URL: tornado-6.4.1-cp38-abi3-win32.whl
  • Upload date:
  • Size: 438.1 kB
  • Tags: CPython 3.8+, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for tornado-6.4.1-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 d9a566c40b89757c9aa8e6f032bcdb8ca8795d7c1a9762910c722b1635c9de4d
MD5 9cf098a8739bf2f80b99b405f9516ae7
BLAKE2b-256 4b3ea8124c21cc0bbf144d7903d2a0cadab15cadaf683fa39a0f92bc567f0d4d

See more details on using hashes here.

File details

Details for the file tornado-6.4.1-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tornado-6.4.1-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a02a08cc7a9314b006f653ce40483b9b3c12cda222d6a46d4ac63bb6c9057698
MD5 8fd3415e5dfa74fd3a17fe31524e17c9
BLAKE2b-256 94d4f8ac1f5bd22c15fad3b527e025ce219bd526acdbd903f52053df2baecc8b

See more details on using hashes here.

File details

Details for the file tornado-6.4.1-cp38-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for tornado-6.4.1-cp38-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 454db8a7ecfcf2ff6042dde58404164d969b6f5d58b926da15e6b23817950fc4
MD5 6e7afbb422507b394786f2a6ab1342c8
BLAKE2b-256 7163c8fc62745e669ac9009044b889fc531b6f88ac0f5f183cac79eaa950bb23

See more details on using hashes here.

File details

Details for the file tornado-6.4.1-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for tornado-6.4.1-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 25486eb223babe3eed4b8aecbac33b37e3dd6d776bc730ca14e1bf93888b979f
MD5 121b75230845144fef56e1c83eefc9ac
BLAKE2b-256 cf3f2c792e7afa7dd8b24fad7a2ed3c2f24a5ec5110c7b43a64cb6095cc106b8

See more details on using hashes here.

File details

Details for the file tornado-6.4.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tornado-6.4.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e2e20b9113cd7293f164dc46fffb13535266e713cdb87bd2d15ddb336e96cfc4
MD5 0d25dc546c303f73c9949d602ca200d1
BLAKE2b-256 13cf786b8f1e6fe1c7c675e79657448178ad65e41c1c9765ef82e7f6f765c4c5

See more details on using hashes here.

File details

Details for the file tornado-6.4.1-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tornado-6.4.1-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 613bf4ddf5c7a95509218b149b555621497a6cc0d46ac341b30bd9ec19eac7f3
MD5 8405ff29fe736a70549b7d4c84cf9b0c
BLAKE2b-256 22d454f9d12668b58336bd30defe0307e6c61589a3e687b05c366f804b7faaf0

See more details on using hashes here.

File details

Details for the file tornado-6.4.1-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for tornado-6.4.1-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 8ae50a504a740365267b2a8d1a90c9fbc86b780a39170feca9bcc1787ff80842
MD5 07cdf48c3adac5ab42dedacabeea208f
BLAKE2b-256 e48ea6ce4b8d5935558828b0f30f3afcb2d980566718837b3365d98e34f6067e

See more details on using hashes here.

File details

Details for the file tornado-6.4.1-cp38-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tornado-6.4.1-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6d5ce3437e18a2b66fbadb183c1d3364fb03f2be71299e7d10dbeeb69f4b2a14
MD5 62a4018a7c602e16f108e90404931afc
BLAKE2b-256 2e0f721e113a2fac2f1d7d124b3279a1da4c77622e104084f56119875019ffab

See more details on using hashes here.

File details

Details for the file tornado-6.4.1-cp38-abi3-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for tornado-6.4.1-cp38-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 163b0aafc8e23d8cdc3c9dfb24c5368af84a81e3364745ccb4427669bf84aec8
MD5 76f4c1576bed0f053312eee59f9ac299
BLAKE2b-256 00d9c33be3c1a7564f7d42d87a8d186371a75fd142097076767a5c27da941fef

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