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.1.tar.gz (509.9 kB view details)

Uploaded Source

Built Distributions

tornado-6.5.1-cp39-abi3-win_arm64.whl (443.6 kB view details)

Uploaded CPython 3.9+ Windows ARM64

tornado-6.5.1-cp39-abi3-win_amd64.whl (444.8 kB view details)

Uploaded CPython 3.9+ Windows x86-64

tornado-6.5.1-cp39-abi3-win32.whl (444.4 kB view details)

Uploaded CPython 3.9+ Windows x86

tornado-6.5.1-cp39-abi3-musllinux_1_2_x86_64.whl (443.3 kB view details)

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

tornado-6.5.1-cp39-abi3-musllinux_1_2_i686.whl (443.4 kB view details)

Uploaded CPython 3.9+ musllinux: musl 1.2+ i686

tornado-6.5.1-cp39-abi3-musllinux_1_2_aarch64.whl (443.9 kB view details)

Uploaded CPython 3.9+ musllinux: musl 1.2+ ARM64

tornado-6.5.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (443.7 kB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.17+ ARM64

tornado-6.5.1-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443.3 kB view details)

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

tornado-6.5.1-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (443.0 kB view details)

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

tornado-6.5.1-cp39-abi3-macosx_10_9_x86_64.whl (440.1 kB view details)

Uploaded CPython 3.9+ macOS 10.9+ x86-64

tornado-6.5.1-cp39-abi3-macosx_10_9_universal2.whl (441.9 kB view details)

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

File details

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

File metadata

  • Download URL: tornado-6.5.1.tar.gz
  • Upload date:
  • Size: 509.9 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.1.tar.gz
Algorithm Hash digest
SHA256 84ceece391e8eb9b2b95578db65e920d2a61070260594819589609ba9bc6308c
MD5 e3e3d74e2fedffacdacd8626d0c17a37
BLAKE2b-256 5189c72771c81d25d53fe33e3dca61c233b665b2780f21820ba6fd2c6793c12b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.1-cp39-abi3-win_arm64.whl
  • Upload date:
  • Size: 443.6 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.1-cp39-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 02420a0eb7bf617257b9935e2b754d1b63897525d8a289c9d65690d580b4dcf7
MD5 98fc8b36a7e845fc6b05e634de48e495
BLAKE2b-256 55a7535c44c7bea4578e48281d83c615219f3ab19e6abc67625ef637c73987be

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.1-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 444.8 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.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 908e7d64567cecd4c2b458075589a775063453aeb1d2a1853eedb806922f568b
MD5 7e26d49f6207078273fe06a7717fe52f
BLAKE2b-256 7b096526e32bf1049ee7de3bebba81572673b19a2a8541f795d887e92af1a8bc

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.1-cp39-abi3-win32.whl
  • Upload date:
  • Size: 444.4 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.1-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 e0a36e1bc684dca10b1aa75a31df8bdfed656831489bc1e6a6ebed05dc1ec365
MD5 c2a202afbed10ea020cd2a159d5b640c
BLAKE2b-256 4918e3f902a1d21f14035b5bc6246a8c0f51e0eef562ace3a2cea403c1fb7021

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.1-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5cae6145f4cdf5ab24744526cc0f55a17d76f02c98f4cff9daa08ae9a217448a
MD5 927c1bba04b76fd69364a3d418ad67e5
BLAKE2b-256 76ff6a0079e65b326cc222a54720a748e04a4db246870c4da54ece4577bfa702

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.1-cp39-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 13ce6e3396c24e2808774741331638ee6c2f50b114b97a55c5b442df65fd9692
MD5 4701aa4724a6b93fa0daee343ac73327
BLAKE2b-256 78b2f8049221c96a06df89bed68260e8ca94beca5ea532ffc63b1175ad31f9cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.1-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 caec6314ce8a81cf69bd89909f4b633b9f523834dc1a352021775d45e51d9401
MD5 92bc92195a92ca9be76a2bf2120048fe
BLAKE2b-256 8946d8d7413d11987e316df4ad42e16023cd62666a3c0dfa1518ffa30b8df06c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b77e9dfa7ed69754a54c89d82ef746398be82f749df69c4d3abe75c4d1ff4888
MD5 6f70e3f7215f8883c8284b59759a4b8c
BLAKE2b-256 55827721b7319013a3cf881f4dffa4f60ceff07b31b394e459984e7a36dc99ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.1-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.1-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.1-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 308473f4cc5a76227157cdf904de33ac268af770b2c5f05ca6c1161d82fdd95e
MD5 17aeec123d80653ff943c7a8bad85c0d
BLAKE2b-256 7df70c48ba992d875521ac761e6e04b0a1750f8150ae42ea26df1852d6a98942

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.1-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 253b76040ee3bab8bcf7ba9feb136436a3787208717a1fb9f2c16b744fba7331
MD5 cb7e4ba542568996466084c844a644fb
BLAKE2b-256 7d42d11c4376e7d101171b94e03cef0cbce43e823ed6567ceda571f54cf6e3ce

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.1-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9e9ca370f717997cb85606d074b0e5b247282cf5e2e1611568b8821afe0342d6
MD5 912eaad3c968c15d0c6c6816790f3bd3
BLAKE2b-256 159a557406b62cffa395d18772e0cdcf03bed2fff03b374677348eef9f6a3792

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.1-cp39-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d50065ba7fd11d3bd41bcad0825227cc9a95154bad83239357094c36708001f7
MD5 bc4d7b0eb7880ff062332ce5b3f12a39
BLAKE2b-256 7789f4532dee6843c9e0ebc4e28d4be04c67f54f60813e4bf73d595fe7567452

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.1-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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page