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

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

Uploaded CPython 3.9+Windows ARM64

tornado-6.5-cp39-abi3-win_amd64.whl (444.1 kB view details)

Uploaded CPython 3.9+Windows x86-64

tornado-6.5-cp39-abi3-win32.whl (443.7 kB view details)

Uploaded CPython 3.9+Windows x86

tornado-6.5-cp39-abi3-musllinux_1_2_x86_64.whl (442.6 kB view details)

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

tornado-6.5-cp39-abi3-musllinux_1_2_i686.whl (442.6 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ i686

tornado-6.5-cp39-abi3-musllinux_1_2_aarch64.whl (443.2 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

tornado-6.5-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (442.9 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

tornado-6.5-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (442.5 kB view details)

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

tornado-6.5-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (442.3 kB view details)

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

tornado-6.5-cp39-abi3-macosx_10_9_x86_64.whl (439.4 kB view details)

Uploaded CPython 3.9+macOS 10.9+ x86-64

tornado-6.5-cp39-abi3-macosx_10_9_universal2.whl (441.2 kB view details)

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

File details

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

File metadata

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

File hashes

Hashes for tornado-6.5.tar.gz
Algorithm Hash digest
SHA256 c70c0a26d5b2d85440e4debd14a8d0b463a0cf35d92d3af05f5f1ffa8675c826
MD5 a14a7d70e304fcf96f06ccc2db98b98d
BLAKE2b-256 63c4bb3bd68b1b3cd30abc6411469875e6d32004397ccc4a3230479f86f86a73

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for tornado-6.5-cp39-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 542e380658dcec911215c4820654662810c06ad872eefe10def6a5e9b20e9633
MD5 8f2544359b715315fd7fe0205b133bee
BLAKE2b-256 549a3cc3969c733ddd4f5992b3d4ec15c9a2564192c7b1a239ba21c8f73f8af4

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for tornado-6.5-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 007f036f7b661e899bd9ef3fa5f87eb2cb4d1b2e7d67368e778e140a2f101a7a
MD5 5eac651aba3d9d0676ddc8ee70d6bb08
BLAKE2b-256 787785fb3a93ef109f6de9a60acc6302f9761a3e7150a6c1b40e8a4a215db5fc

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for tornado-6.5-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 fd20c816e31be1bbff1f7681f970bbbd0bb241c364220140228ba24242bcdc59
MD5 0b0fc6742ac35a3445fa7a19b9c44b90
BLAKE2b-256 71edfe27371e79930559e9a90324727267ad5cf9479a2c897ff75ace1d3bec3d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5-cp39-abi3-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 442.6 kB
  • Tags: CPython 3.9+, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tornado-6.5-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 231f2193bb4c28db2bdee9e57bc6ca0cd491f345cd307c57d79613b058e807e0
MD5 e30f6c5ba5bcadd46b47281041b34fd1
BLAKE2b-256 7090e831b7800ec9632d5eb6a0931b016b823efa963356cb1c215f035b6d5d2e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5-cp39-abi3-musllinux_1_2_i686.whl
  • Upload date:
  • Size: 442.6 kB
  • Tags: CPython 3.9+, musllinux: musl 1.2+ i686
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tornado-6.5-cp39-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 119c03f440a832128820e87add8a175d211b7f36e7ee161c631780877c28f4fb
MD5 e086eaa81d580129c36f46174fb65052
BLAKE2b-256 92c5932cc6941f88336d70744b3fda420b9cb18684c034293a1c430a766b2ad9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ab75fe43d0e1b3a5e3ceddb2a611cb40090dd116a84fc216a07a298d9e000471
MD5 54a9244abf675b2dc3d4a0c0a9fdca12
BLAKE2b-256 dcf2c4d43d830578111b1826cf831fdbb8b2a10e3c4fccc4b774b69d818eb231

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7c625b9d03f1fb4d64149c47d0135227f0434ebb803e2008040eb92906b0105a
MD5 0532b6997cdacce6c44947090aeb6ff9
BLAKE2b-256 4a62fdd9b12b95e4e2b7b8c21dfc306b0960b20b741e588318c13918cf52b868

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5-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-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-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 03576ab51e9b1677e4cdaae620d6700d9823568b7939277e4690fe4085886c55
MD5 45bd04a78f6ecdcf08c1438131da2d6a
BLAKE2b-256 d8fa23bb108afb8197a55edd333fe26a3dad9341ce441337aad95cd06b025594

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9a0d8d2309faf015903080fb5bdd969ecf9aa5ff893290845cf3fd5b2dd101bc
MD5 de7bc51b08bb4814613de936a8c517f4
BLAKE2b-256 46000094bd1538cb8579f7a97330cb77f40c9b8042c71fb040e5daae439be1ae

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5-cp39-abi3-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 439.4 kB
  • Tags: CPython 3.9+, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tornado-6.5-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9ac1cbe1db860b3cbb251e795c701c41d343f06a96049d6274e7c77559117e41
MD5 2b069bd24f31fe0f1d323ef62c25458b
BLAKE2b-256 3fff53d49f869a390ce68d4f98306b6f9ad5765c114ab27ef47d7c9bd05d1191

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5-cp39-abi3-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 441.2 kB
  • Tags: CPython 3.9+, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tornado-6.5-cp39-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f81067dad2e4443b015368b24e802d0083fecada4f0a4572fdb72fc06e54a9a6
MD5 0725b649489893b12c6acc299765e956
BLAKE2b-256 b07c6526062801e4becb5a7511079c0b0f170a80d929d312042d5b5c4afad464

See more details on using hashes here.

Provenance

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