Skip to main content

Tornado Web Server

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

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

Uploaded CPython 3.9+Windows ARM64

tornado-6.5.9-cp39-abi3-win_amd64.whl (467.2 kB view details)

Uploaded CPython 3.9+Windows x86-64

tornado-6.5.9-cp39-abi3-win32.whl (466.8 kB view details)

Uploaded CPython 3.9+Windows x86

tornado-6.5.9-cp39-abi3-musllinux_1_2_x86_64.whl (465.7 kB view details)

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

tornado-6.5.9-cp39-abi3-musllinux_1_2_aarch64.whl (466.3 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

tornado-6.5.9-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (466.5 kB view details)

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

tornado-6.5.9-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (465.5 kB view details)

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

tornado-6.5.9-cp39-abi3-macosx_10_9_x86_64.whl (462.4 kB view details)

Uploaded CPython 3.9+macOS 10.9+ x86-64

tornado-6.5.9-cp39-abi3-macosx_10_9_universal2.whl (464.3 kB view details)

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

File details

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

File metadata

  • Download URL: tornado-6.5.9.tar.gz
  • Upload date:
  • Size: 536.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tornado-6.5.9.tar.gz
Algorithm Hash digest
SHA256 4d868544ebdf2fc155239a74397f65ebfea9b4d3635296c96b5dfb0701c354f5
MD5 6df8c4929ed717739eaa335f81398825
BLAKE2b-256 2215ca7aaebb77f850493cba71ace508aeffb896d1ad8976417b48b79823dbd2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.9-cp39-abi3-win_arm64.whl
  • Upload date:
  • Size: 466.2 kB
  • Tags: CPython 3.9+, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tornado-6.5.9-cp39-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 b5f4d92798337260c6d9f9f0e400c7539dd5e55cf93479a3f8508c9aa09c2b3b
MD5 3fe3f653d74f0d9f4e2fc8400053e2fe
BLAKE2b-256 3970f1024364bf78fa921c63ef2883d36a3b3b705750c98ae174593afaab7a65

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for tornado-6.5.9-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f810730ac71eadf009e6e5cb6d534d096887310f5649cff19d7e0d19c0bf4ee7
MD5 8f1b7c600c68b64592f5abb186599eb8
BLAKE2b-256 34d72446cf3125372e2b4be6483b4b93f360dc50ce2493864755484b23bb50f2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tornado-6.5.9-cp39-abi3-win32.whl
  • Upload date:
  • Size: 466.8 kB
  • Tags: CPython 3.9+, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tornado-6.5.9-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 dca9f377e80efe5dd4d52a2776b67492a81a39b2d931de169b6b36d0c1da444c
MD5 59e2da6487a1fea1d9058c7ec9babbc5
BLAKE2b-256 ab365a5da0aa15b7afdd46ece09c004a75af7d00f6a96b692bf696ff94bc2a55

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.9-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5801bbf94dfde8d21087b6aa0b17f3a5dab6110dfe44e7e4492df5de393ac15b
MD5 750adb78a029fa5ad5d2c6092a7058aa
BLAKE2b-256 7ea5c5cfab11420c3f908238a6c861b8f3864fdbd2b2b87e30c9c16f36a11512

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.9-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 93f9ab0226ef625b94cacb7981a5af104f1735ea02f92282abe5c389109fb31d
MD5 3257ebf2ed493d43e93831641ca9ed67
BLAKE2b-256 d68bd2bcf417981fa6f7698ab84a52394a76cf608e6704d266e2e0e29f1fd9d0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.9-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dc0d703cc7ec92b47ebfe236c97cd765c1f2e45744a2e156e6677e54c948274d
MD5 37890058469a3ee7b2253d41a5823b79
BLAKE2b-256 8ce93888f265d1e287fc63cd61a6696f96a650024e32f9e89c0b1817ac5c40f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.5.9-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.9-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.9-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 0cc0876a58eee9143476f24901b1b8eb4d52443283ade2b6bca650dd1da04f84
MD5 b7b0d93ed19b0ce9148392f8ca5331cf
BLAKE2b-256 9e0f38f8d16011de3b1ce2babb4c3bcefb126d2dc47d04878ae3ad5c39a00caa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.9-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 22bed49cdb55292d1d58f46008ba2cc3020e5b84995ef6ae749676c8b5309514
MD5 08552708d0879fd254e48aa986d254b8
BLAKE2b-256 264b5af2f7dcd674e2f1cacef763456f79823404f50954789d6e1ec7a70cd58a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.5.9-cp39-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 dea3bee433b73d6312d993ce89ad5f2b8d3ed9fde56e79ba5342b9edb78d342a
MD5 5f26cd9e5a3301cb1a48ef8e2e07f13d
BLAKE2b-256 a04a4d3459fd2f360dd99233f69f22b36012a42856ace526da2c6da3cb0e6df2

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

This release

6.5.9 This release

10 files

6.5.8

10 files

6.5.7

10 files

6.5.6

10 files

6.5.5

10 files

6.5.4

12 files

6.5.3

12 files

6.5.2

12 files

6.5.1

12 files

6.5

12 files

6.4.2

11 files

6.4.1

11 files

6.4

11 files

6.3.3

11 files

6.3.2

11 files

6.3.1

11 files

6.3

11 files

6.2

11 files

6.1

41 files

6.0.4

9 files

6.0.3

7 files

6.0.2

7 files

6.0.1

7 files

6.0

7 files

5.1.1

7 files

5.1

7 files

5.0.2

5 files

5.0.1

5 files

5.0

5 files

4.5.3

5 files

4.5.2

5 files

4.5.1

5 files

4.5

5 files

4.4.3

3 files

4.4.2

3 files

4.4.1

3 files

4.4

3 files

4.3

3 files

4.2.1

1 file

4.2

1 file

4.1

1 file

4.0.2

1 file

4.0.1

1 file

4.0

1 file

3.2.2

1 file

3.2.1

1 file

3.2

1 file

3.1.1

1 file

3.1

1 file

3.0.2

1 file

3.0.1

1 file

3.0

1 file

2.4.1

1 file

2.4

1 file

2.3

1 file

2.2.1

1 file

2.2

1 file

2.1.1

1 file

2.1

1 file

2.0

1 file

1.2.1

1 file

1.2

1 file

1.1.1

1 file

1.1

1 file

1.0

1 file

0.2

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page