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

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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tornado-6.5.7-cp39-abi3-win_arm64.whl (450.5 kB view details)

Uploaded CPython 3.9+Windows ARM64

tornado-6.5.7-cp39-abi3-win_amd64.whl (451.5 kB view details)

Uploaded CPython 3.9+Windows x86-64

tornado-6.5.7-cp39-abi3-win32.whl (451.0 kB view details)

Uploaded CPython 3.9+Windows x86

tornado-6.5.7-cp39-abi3-musllinux_1_2_x86_64.whl (450.0 kB view details)

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

tornado-6.5.7-cp39-abi3-musllinux_1_2_aarch64.whl (450.6 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

tornado-6.5.7-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (450.7 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

tornado-6.5.7-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (449.8 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

tornado-6.5.7-cp39-abi3-macosx_10_9_x86_64.whl (446.7 kB view details)

Uploaded CPython 3.9+macOS 10.9+ x86-64

tornado-6.5.7-cp39-abi3-macosx_10_9_universal2.whl (448.5 kB view details)

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

File details

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

File metadata

  • Download URL: tornado-6.5.7.tar.gz
  • Upload date:
  • Size: 519.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tornado-6.5.7.tar.gz
Algorithm Hash digest
SHA256 66c513a76cda70d53907bc27cf1447557699c2e95aa48ba27a442ff61c3ddfc2
MD5 74d38a18ca1358b1bc784c1df3355678
BLAKE2b-256 642495ec527ad67b76d59299e5465b3935d05e4294b7e0290a3924b7487df30b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.7.tar.gz:

Publisher: build.yml on tornadoweb/tornado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tornado-6.5.7-cp39-abi3-win_arm64.whl.

File metadata

  • Download URL: tornado-6.5.7-cp39-abi3-win_arm64.whl
  • Upload date:
  • Size: 450.5 kB
  • Tags: CPython 3.9+, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tornado-6.5.7-cp39-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ff934fce95643af5f11efdae618eaa73d469dc588641e5c8d19295a0c65c4796
MD5 faf0ad4530112530a95faf4f2779f288
BLAKE2b-256 712e7b1c769803121b809112cf9a00681c472eae1d80e32d7ec0e0bd61d0d0e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.7-cp39-abi3-win_arm64.whl:

Publisher: build.yml on tornadoweb/tornado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tornado-6.5.7-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: tornado-6.5.7-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 451.5 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tornado-6.5.7-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 de942f843533a039ef9fa3d9c88c7cd8a7c94553fb5ad0154270989b3d99a2c4
MD5 e869f69bd25a1ed32d5cf804b3e991a5
BLAKE2b-256 c9a4b393076ffb21b469eec5b328a0534cf03a3b90bfc6b1f09507cdd075d938

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.7-cp39-abi3-win_amd64.whl:

Publisher: build.yml on tornadoweb/tornado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tornado-6.5.7-cp39-abi3-win32.whl.

File metadata

  • Download URL: tornado-6.5.7-cp39-abi3-win32.whl
  • Upload date:
  • Size: 451.0 kB
  • Tags: CPython 3.9+, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tornado-6.5.7-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 f8de3bf12d3efdd0cbe7c8887868198f8a91415e3f29fcf258d9b8eb7b1d9ae4
MD5 0bf4ec8ca7b5e6a05496da6f75bae9d1
BLAKE2b-256 5c425f0e56c01e8d9d36f4e23f367b85ae6cae0c1ecddd5e6977d8388ad27488

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.7-cp39-abi3-win32.whl:

Publisher: build.yml on tornadoweb/tornado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tornado-6.5.7-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tornado-6.5.7-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e726f0c75da7726eec023aa62751ff8878bd2737e34fbdd33b1ae5897d2200f5
MD5 e7df603f21740e2ae14a344f50630455
BLAKE2b-256 0230a7444fb23aa76860a14198fab96ac79f1866b0a6e19e26c4381b0938e50f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.7-cp39-abi3-musllinux_1_2_x86_64.whl:

Publisher: build.yml on tornadoweb/tornado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tornado-6.5.7-cp39-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for tornado-6.5.7-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7778b30bef919231265e91c69963ce0f49a1e9c07ac900bbe75b19ce2575ba92
MD5 632a1be9dcefa3ea2e0092535fa0162e
BLAKE2b-256 b62b56b9aff361d7f1ab728a805ec7d7ea835f8807afa9f5cc690ea0e630efb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.7-cp39-abi3-musllinux_1_2_aarch64.whl:

Publisher: build.yml on tornadoweb/tornado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tornado-6.5.7-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tornado-6.5.7-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8a46347a18f23fb92b396beebe0fb78f61dda0cc302445202c16203d8a18848b
MD5 11e3dee6c3dd12f390c8b194be624c06
BLAKE2b-256 3537d434c73f4c6e014b745b9b37085f34f40c022f007efff3d7fe65991899f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.7-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build.yml on tornadoweb/tornado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tornado-6.5.7-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for tornado-6.5.7-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 8d759e71906ee783f8867b93bf26a265743da4c1e2f4a018464c1ba019862972
MD5 7bc7919ae780a116f7c22ab229282a1f
BLAKE2b-256 37d8ef374952fd5da67d4463122c2b8e5a96536ec10b4b339254c6dcde81d01c

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.7-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: build.yml on tornadoweb/tornado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tornado-6.5.7-cp39-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tornado-6.5.7-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9da38de27f1da3b78a966f0dae12b5a1ea9afe72ca805d84ff06508272ddf100
MD5 7841d0f4a6a9c50ff236c8c0acb2d3f3
BLAKE2b-256 924f090b1431e5a43df696feceffc268c5383cc079ecb5f08ce58f917109aafe

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.7-cp39-abi3-macosx_10_9_x86_64.whl:

Publisher: build.yml on tornadoweb/tornado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tornado-6.5.7-cp39-abi3-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for tornado-6.5.7-cp39-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 148b2eb15c2c765a50796172c1e499649b35f30d2e3c3d3e15913cfa56bfb163
MD5 0d100ce4a07bb9c34d5d0d85647bc29d
BLAKE2b-256 02dcc7043cab6fed8ae159fc1923ce829ada35c4dbd797d408a43858ffaf9639

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.7-cp39-abi3-macosx_10_9_universal2.whl:

Publisher: build.yml on tornadoweb/tornado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page