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

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.3.tar.gz (513.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.3-cp39-abi3-win_arm64.whl (445.9 kB view details)

Uploaded CPython 3.9+Windows ARM64

tornado-6.5.3-cp39-abi3-win_amd64.whl (446.8 kB view details)

Uploaded CPython 3.9+Windows x86-64

tornado-6.5.3-cp39-abi3-win32.whl (446.4 kB view details)

Uploaded CPython 3.9+Windows x86

tornado-6.5.3-cp39-abi3-musllinux_1_2_x86_64.whl (445.3 kB view details)

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

tornado-6.5.3-cp39-abi3-musllinux_1_2_i686.whl (445.4 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ i686

tornado-6.5.3-cp39-abi3-musllinux_1_2_aarch64.whl (446.0 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

tornado-6.5.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (445.7 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

tornado-6.5.3-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (445.3 kB view details)

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

tornado-6.5.3-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (445.0 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

tornado-6.5.3-cp39-abi3-macosx_10_9_x86_64.whl (442.1 kB view details)

Uploaded CPython 3.9+macOS 10.9+ x86-64

tornado-6.5.3-cp39-abi3-macosx_10_9_universal2.whl (443.9 kB view details)

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

File details

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

File metadata

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

File hashes

Hashes for tornado-6.5.3.tar.gz
Algorithm Hash digest
SHA256 16abdeb0211796ffc73765bc0a20119712d68afeeaf93d1a3f2edf6b3aee8d5a
MD5 7e00bcdf7b4d5f1d7b53d19be307f7cf
BLAKE2b-256 7f2e3d22d478f27cb4b41edd4db7f10cd7846d0a28ea443342de3dba97035166

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.3.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.3-cp39-abi3-win_arm64.whl.

File metadata

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

File hashes

Hashes for tornado-6.5.3-cp39-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 278c54d262911365075dd45e0b6314308c74badd6ff9a54490e7daccdd5ed0ea
MD5 f06819a353638acb1b56c257ed85edaa
BLAKE2b-256 7a270e3fca4c4edf33fb6ee079e784c63961cd816971a45e5e4cacebe794158d

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.3-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.3-cp39-abi3-win_amd64.whl.

File metadata

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

File hashes

Hashes for tornado-6.5.3-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ba4b513d221cc7f795a532c1e296f36bcf6a60e54b15efd3f092889458c69af1
MD5 6b42bf2226c9e93d49a839a3bc0d74e2
BLAKE2b-256 34984f7f938606e21d0baea8c6c39a7c8e95bdf8e50b0595b1bb6f0de2af7a6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.3-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.3-cp39-abi3-win32.whl.

File metadata

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

File hashes

Hashes for tornado-6.5.3-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 88141456525fe291e47bbe1ba3ffb7982549329f09b4299a56813923af2bd197
MD5 d1097d90b164cd367964715a166c7bff
BLAKE2b-256 4b7d7c181feadc8941f418d0d26c3790ee34ffa4bd0a294bc5201d44ebd19c1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.3-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.3-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tornado-6.5.3-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 892595c100cd9b53a768cbfc109dfc55dec884afe2de5290611a566078d9692d
MD5 4ced31bac8486d3d49204ed524bd0879
BLAKE2b-256 70b11d03ae4526a393b0b839472a844397337f03c7f3a1e6b5c82241f0e18281

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.3-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.3-cp39-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for tornado-6.5.3-cp39-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 db238e8a174b4bfd0d0238b8cfcff1c14aebb4e2fcdafbf0ea5da3b81caceb4c
MD5 938c1dd20525a685b4a76719ef638c0f
BLAKE2b-256 a01f9ff92eca81ff17a86286ec440dcd5eab0400326eb81761aa9a4eecb1ffb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.3-cp39-abi3-musllinux_1_2_i686.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.3-cp39-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for tornado-6.5.3-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 dbc4b4c32245b952566e17a20d5c1648fbed0e16aec3fc7e19f3974b36e0e47c
MD5 9b7ea662234abc6ec71f6c4704cd2afc
BLAKE2b-256 58e27a7535d23133443552719dba526dacbb7415f980157da9f14950ddb88ad6

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.3-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.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tornado-6.5.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f72ac800be2ac73ddc1504f7aa21069a4137e8d70c387172c063d363d04f2208
MD5 af28b7626249018066d3c37b6a51c349
BLAKE2b-256 78f6685b869f5b5b9d9547571be838c6106172082751696355b60fc32a4988ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_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.3-cp39-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.5.3-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 de8b3fed4b3afb65d542d7702ac8767b567e240f6a43020be8eaef59328f117b
MD5 01594152d7aa8f938030418a110c79d4
BLAKE2b-256 eb2be02da94f4a4aef2bb3b923c838ef284a77548a5f06bac2a8682b36b4eead

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.3-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_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.3-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for tornado-6.5.3-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c43c4fc4f5419c6561cfb8b884a8f6db7b142787d47821e1a0e1296253458265
MD5 eac9dbe6e84df500871571f029cd9043
BLAKE2b-256 914cf0d19edf24912b7f21ae5e941f7798d132ad4d9b71441c1e70917a297265

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.3-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.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.3-cp39-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tornado-6.5.3-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5977a396f83496657779f59a48c38096ef01edfe4f42f1c0634b791dde8165d0
MD5 1e31c192591846c82d755567ede497e2
BLAKE2b-256 ca9c594b631f0b8dc5977080c7093d1e96f1377c10552577d2c31bb0208c9362

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.3-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.3-cp39-abi3-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for tornado-6.5.3-cp39-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2dd7d7e8d3e4635447a8afd4987951e3d4e8d1fb9ad1908c54c4002aabab0520
MD5 06a333af54ef479bbdaa09d1e7bec368
BLAKE2b-256 d3e9bf22f66e1d5d112c0617974b5ce86666683b32c09b355dfcd59f8d5c8ef6

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.3-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