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.6.tar.gz (518.1 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.6-cp39-abi3-win_arm64.whl (449.7 kB view details)

Uploaded CPython 3.9+Windows ARM64

tornado-6.5.6-cp39-abi3-win_amd64.whl (450.7 kB view details)

Uploaded CPython 3.9+Windows x86-64

tornado-6.5.6-cp39-abi3-win32.whl (450.2 kB view details)

Uploaded CPython 3.9+Windows x86

tornado-6.5.6-cp39-abi3-musllinux_1_2_x86_64.whl (449.2 kB view details)

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

tornado-6.5.6-cp39-abi3-musllinux_1_2_aarch64.whl (449.8 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

tornado-6.5.6-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (449.9 kB view details)

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

tornado-6.5.6-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (449.0 kB view details)

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

tornado-6.5.6-cp39-abi3-macosx_10_9_x86_64.whl (445.9 kB view details)

Uploaded CPython 3.9+macOS 10.9+ x86-64

tornado-6.5.6-cp39-abi3-macosx_10_9_universal2.whl (447.7 kB view details)

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

File details

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

File metadata

  • Download URL: tornado-6.5.6.tar.gz
  • Upload date:
  • Size: 518.1 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.6.tar.gz
Algorithm Hash digest
SHA256 9a365179fe8ff6b8766f602c0f67c185d778193e9bdd828b19f0b6ed7764177d
MD5 fb186f05695e4091cba54a5af001d172
BLAKE2b-256 50576d7303a77ae439d9189108f76c0c4fd89ee5e2cc8387bffb55232565c4ed

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.6-cp39-abi3-win_arm64.whl
  • Upload date:
  • Size: 449.7 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.6-cp39-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 2543597b24a695d72338a9a77818362d72387c03ae173f1f169eadc5c91466ac
MD5 9e28970d47b39df1926e04496be307d5
BLAKE2b-256 02980cffe22a224f60c5fb1e3aa0b76f9da2e1ca78b0e9545e3d077c68ce60a7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.6-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 450.7 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.6-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6739bf1e8eb09230f1280ddbd3236f0309db70f2c551a8dbc40f62babdf82f79
MD5 bbf56927323a7db56faba3ccacc74ffa
BLAKE2b-256 d23c273a04e0b9dd9016f1685cca0c1c8795a71ac88a34a8c889a0b443483226

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.6-cp39-abi3-win32.whl
  • Upload date:
  • Size: 450.2 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.6-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 db475f1b67b2809b10bb16264829087724ca8d24fe4ed47f7b8675cae453ef86
MD5 6598cc05a9eff60e6ffa871b88257d0d
BLAKE2b-256 bb843469e098dccdb6763130e06aacd786bb4363fca7b590a55c101ddf34ed30

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.6-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 385f35e4e22fb52551dfcda4cdc8c30c61c2c001aef5ddad99cdfe116952efd3
MD5 f08da9736c1523010b88e45e21e947a6
BLAKE2b-256 a5eb6a07ad550c3f7b37244bd0becdf293ec3d3e961783d8b720a97df50de1b2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.6-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1c34cfab7ad6d104f052f55de06d39bbafc5885cfeb4da688803308dbcfa90b7
MD5 2a7436ea0effecc86d7dbbce420a5c6e
BLAKE2b-256 cca4c24388c9cf5b3c3a513b56a158af9f23092c9a2810d789e294310797df21

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.6-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8666946e70171b8c3f1fc9b7876fac492e84822c4c7f3746f4e8f8bc9ac92a79
MD5 a70df297f6fd612f6c108b6affc67eea
BLAKE2b-256 a771bd67d5f5199f937dafe03a49a37989f60f600ff6fef34c79412a829d97bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.6-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.6-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.6-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 b942e6a137fda31ff54bf8e6e2c8d1c37f1f50583f3ed53fb840b53b9601d104
MD5 0f15de5c121ac436dc35fb2dbdbcda75
BLAKE2b-256 8b79fa7e14a2f939c807a8d30619b4eb604eab219601b78792516ebe22d40cf9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.6-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 38bc01b4acacded2de63ae78023548e41ebe6fbed3ec05a796d7ae3ad893887e
MD5 e1ad82d469990be46cc545a447a4bce2
BLAKE2b-256 9e9c5430c39fcab1144d35860f457b15e9c08b4bc7ac86764354204e983d6183

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.6-cp39-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 65fcfaafb079435c2c19dc9e07c0f1cf0fa9051759ed0a7d0a3ba7ea7f64919c
MD5 6e2bc1f7c4d8324c19a1f1e5c490d08b
BLAKE2b-256 1b0db4f481e18c5a51864e6d12b9a05ecf72919696680b747c958c3fc1f4fbae

See more details on using hashes here.

Provenance

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