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.5.tar.gz (516.0 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.5-cp39-abi3-win_arm64.whl (448.0 kB view details)

Uploaded CPython 3.9+Windows ARM64

tornado-6.5.5-cp39-abi3-win_amd64.whl (449.0 kB view details)

Uploaded CPython 3.9+Windows x86-64

tornado-6.5.5-cp39-abi3-win32.whl (448.6 kB view details)

Uploaded CPython 3.9+Windows x86

tornado-6.5.5-cp39-abi3-musllinux_1_2_x86_64.whl (447.4 kB view details)

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

tornado-6.5.5-cp39-abi3-musllinux_1_2_aarch64.whl (448.0 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

tornado-6.5.5-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (448.2 kB view details)

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

tornado-6.5.5-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (447.2 kB view details)

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

tornado-6.5.5-cp39-abi3-macosx_10_9_x86_64.whl (444.2 kB view details)

Uploaded CPython 3.9+macOS 10.9+ x86-64

tornado-6.5.5-cp39-abi3-macosx_10_9_universal2.whl (446.0 kB view details)

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

File details

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

File metadata

  • Download URL: tornado-6.5.5.tar.gz
  • Upload date:
  • Size: 516.0 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.5.tar.gz
Algorithm Hash digest
SHA256 192b8f3ea91bd7f1f50c06955416ed76c6b72f96779b962f07f911b91e8d30e9
MD5 765aacc9cb8931aa66c8f3a83050120c
BLAKE2b-256 f8f13173dfa4a18db4a9b03e5d55325559dab51ee653763bb8745a75af491286

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.5-cp39-abi3-win_arm64.whl
  • Upload date:
  • Size: 448.0 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.5-cp39-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 2c9a876e094109333f888539ddb2de4361743e5d21eece20688e3e351e4990a6
MD5 174d104ec726681c8e7c794c873c22d9
BLAKE2b-256 b7c8876602cbc96469911f0939f703453c1157b0c826ecb05bdd32e023397d4e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.5-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 449.0 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.5-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6443a794ba961a9f619b1ae926a2e900ac20c34483eea67be4ed8f1e58d3ef7b
MD5 5f3066ee5c9e8735e23d28fec9c9aebf
BLAKE2b-256 2c23f6c6112a04d28eed765e374435fb1a9198f73e1ec4b4024184f21faeb1ad

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.5-cp39-abi3-win32.whl
  • Upload date:
  • Size: 448.6 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.5-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 dd3eafaaeec1c7f2f8fdcd5f964e8907ad788fe8a5a32c4426fbbdda621223b7
MD5 e7dee792072daae69c3de3a8abf48779
BLAKE2b-256 5a764921c00511f88af86a33de770d64141170f1cfd9c00311aea689949e274e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.5-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 36abed1754faeb80fbd6e64db2758091e1320f6bba74a4cf8c09cd18ccce8aca
MD5 07dd311d2751ef2de8fe7eab0c7508a3
BLAKE2b-256 829e656ee4cec0398b1d18d0f1eb6372c41c6b889722641d84948351ae19556d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.5-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3f54aa540bdbfee7b9eb268ead60e7d199de5021facd276819c193c0fb28ea4e
MD5 a8fd425f83863dbef231640f43b1e45c
BLAKE2b-256 be00fe9e02c5a96429fce1a1d15a517f5d8444f9c412e0bb9eadfbe3b0fc55bf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.5-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 435319e9e340276428bbdb4e7fa732c2d399386d1de5686cb331ec8eee754f07
MD5 9607d7c845a335b40a4263850741b3cf
BLAKE2b-256 340174e034a30ef59afb4097ef8659515e96a39d910b712a89af76f5e4e1f93c

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.5-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.5-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.5-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 e74c92e8e65086b338fd56333fb9a68b9f6f2fe7ad532645a290a464bcf46be5
MD5 5af81c1cd1e02e096881c42ab82c699c
BLAKE2b-256 b2047b5705d5b3c0fab088f434f9c83edac1573830ca49ccf29fb83bf7178eec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.5-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 65a7f1d46d4bb41df1ac99f5fcb685fb25c7e61613742d5108b010975a9a6521
MD5 20124f189b5681a75798cba2c8b08e70
BLAKE2b-256 ab5e7625b76cd10f98f1516c36ce0346de62061156352353ef2da44e5c21523c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.5-cp39-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 487dc9cc380e29f58c7ab88f9e27cdeef04b2140862e5076a66fb6bb68bb1bfa
MD5 1bbdb5da77cde22859471c39dda3625b
BLAKE2b-256 598c77f5097695f4dd8255ecbd08b2a1ed8ba8b953d337804dd7080f199e12bf

See more details on using hashes here.

Provenance

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