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

Uploaded CPython 3.9+Windows ARM64

tornado-6.5.4-cp39-abi3-win_amd64.whl (446.9 kB view details)

Uploaded CPython 3.9+Windows x86-64

tornado-6.5.4-cp39-abi3-win32.whl (446.5 kB view details)

Uploaded CPython 3.9+Windows x86

tornado-6.5.4-cp39-abi3-musllinux_1_2_x86_64.whl (445.4 kB view details)

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

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

Uploaded CPython 3.9+musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

tornado-6.5.4-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.4-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.4-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (445.1 kB view details)

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

tornado-6.5.4-cp39-abi3-macosx_10_9_x86_64.whl (442.2 kB view details)

Uploaded CPython 3.9+macOS 10.9+ x86-64

tornado-6.5.4-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.4.tar.gz.

File metadata

  • Download URL: tornado-6.5.4.tar.gz
  • Upload date:
  • Size: 513.6 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.4.tar.gz
Algorithm Hash digest
SHA256 a22fa9047405d03260b483980635f0b041989d8bcc9a313f8fe18b411d84b1d7
MD5 bf697c5e3cfb0a572192abf062e83e32
BLAKE2b-256 371d0a336abf618272d53f62ebe274f712e213f5a03c0b2339575430b8362ef2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.4-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.4-cp39-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 053e6e16701eb6cbe641f308f4c1a9541f91b6261991160391bfc342e8a551a1
MD5 e4b72bc0368ef23f23badd998dc0082c
BLAKE2b-256 50498dc3fd90902f70084bd2cd059d576ddb4f8bb44c2c7c0e33a11422acb17e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.4-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 446.9 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.4-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fa07d31e0cd85c60713f2b995da613588aa03e1303d75705dca6af8babc18ddc
MD5 c3d9514538b7b50828a1ec389fb918b6
BLAKE2b-256 d66dc69be695a0a64fd37a97db12355a035a6d90f79067a3cf936ec2b1dc38cd

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.4-cp39-abi3-win32.whl
  • Upload date:
  • Size: 446.5 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.4-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 1768110f2411d5cd281bac0a090f707223ce77fd110424361092859e089b38d1
MD5 bc8667a7f92fd9887551a1643a7f8f98
BLAKE2b-256 0c1ad7592328d037d36f2d2462f4bc1fbb383eec9278bc786c1b111cbbd44cfa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.4-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6076d5dda368c9328ff41ab5d9dd3608e695e8225d1cd0fd1e006f05da3635a8
MD5 0fab78a400c7f58bc31c9b1514f9cb4f
BLAKE2b-256 10c7bc96917f06cbee182d44735d4ecde9c432e25b84f4c2086143013e7b9e52

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.4-cp39-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 6eb82872335a53dd063a4f10917b3efd28270b56a33db69009606a0312660a6f
MD5 623ef67c9b4b63d2a1cf76b22c94a5d6
BLAKE2b-256 d18341c52e47502bf7260044413b6770d1a48dda2f0246f95ee1384a3cd9c44a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.4-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9c86b1643b33a4cd415f8d0fe53045f913bf07b4a3ef646b735a6a86047dda84
MD5 ea7ac38aee5a83c840abac1945a11bbf
BLAKE2b-256 27072273972f69ca63dbc139694a3fc4684edec3ea3f9efabf77ed32483b875c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.4-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d1cf66105dc6acb5af613c054955b8137e34a03698aa53272dbda4afe252be17
MD5 50c92c10df97ba094061e760f85a4f07
BLAKE2b-256 bab5206f82d51e1bfa940ba366a8d2f83904b15942c45a78dd978b599870ab44

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.4-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.4-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.4-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e5fb5e04efa54cf0baabdd10061eb4148e0be137166146fff835745f59ab9f7f
MD5 37b771314b4ddc7af3bb080c7874b153
BLAKE2b-256 50d4e51d52047e7eb9a582da59f32125d17c0482d065afd5d3bc435ff2120dc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.4-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 50ff0a58b0dc97939d29da29cd624da010e7f804746621c78d14b80238669335
MD5 fa34e622b744eacda3e633955d4259f0
BLAKE2b-256 8e9d1a3338e0bd30ada6ad4356c13a0a6c35fbc859063fa7eddb309183364ac1

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.4-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.4-cp39-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tornado-6.5.4-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2d50f63dda1d2cac3ae1fa23d254e16b5e38153758470e9956cbc3d813d40843
MD5 b6bc51232b145dd576ce1344d936f404
BLAKE2b-256 db7ef7b8d8c4453f305a51f80dbb49014257bb7d28ccb4bbb8dd328ea995ecad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.4-cp39-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d6241c1a16b1c9e4cc28148b1cda97dd1c6cb4fb7068ac1bedc610768dff0ba9
MD5 e2303d0c037821cc619c506706038fbf
BLAKE2b-256 aba9e94a9d5224107d7ce3cc1fab8d5dc97f5ea351ccc6322ee4fb661da94e35

See more details on using hashes here.

Provenance

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