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

Uploaded Source

Built Distributions

tornado-6.3.3-cp38-abi3-win_amd64.whl (429.2 kB view details)

Uploaded CPython 3.8+ Windows x86-64

tornado-6.3.3-cp38-abi3-win32.whl (428.8 kB view details)

Uploaded CPython 3.8+ Windows x86

tornado-6.3.3-cp38-abi3-musllinux_1_1_x86_64.whl (430.5 kB view details)

Uploaded CPython 3.8+ musllinux: musl 1.1+ x86-64

tornado-6.3.3-cp38-abi3-musllinux_1_1_i686.whl (430.5 kB view details)

Uploaded CPython 3.8+ musllinux: musl 1.1+ i686

tornado-6.3.3-cp38-abi3-musllinux_1_1_aarch64.whl (430.5 kB view details)

Uploaded CPython 3.8+ musllinux: musl 1.1+ ARM64

tornado-6.3.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (428.1 kB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ ARM64

tornado-6.3.3-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (427.7 kB view details)

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

tornado-6.3.3-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (427.5 kB view details)

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

tornado-6.3.3-cp38-abi3-macosx_10_9_x86_64.whl (423.4 kB view details)

Uploaded CPython 3.8+ macOS 10.9+ x86-64

tornado-6.3.3-cp38-abi3-macosx_10_9_universal2.whl (425.4 kB view details)

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

File details

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

File metadata

  • Download URL: tornado-6.3.3.tar.gz
  • Upload date:
  • Size: 509.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for tornado-6.3.3.tar.gz
Algorithm Hash digest
SHA256 e7d8db41c0181c80d76c982aacc442c0783a2c54d6400fe028954201a2e032fe
MD5 e5fca0b30397bbdfe1f5e8e49e6cacf9
BLAKE2b-256 4864679260ca0c3742e2236c693dc6c34fb8b153c14c21d2aa2077c5a01924d6

See more details on using hashes here.

File details

Details for the file tornado-6.3.3-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: tornado-6.3.3-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 429.2 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for tornado-6.3.3-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 22d3c2fa10b5793da13c807e6fc38ff49a4f6e1e3868b0a6f4164768bb8e20f5
MD5 be8dd8b2cafdb79c1a302a9c87205666
BLAKE2b-256 190765898bfa51d1a901f7798c36b3cf7c8d1df0c31a7178b79f75edf6d038cd

See more details on using hashes here.

File details

Details for the file tornado-6.3.3-cp38-abi3-win32.whl.

File metadata

  • Download URL: tornado-6.3.3-cp38-abi3-win32.whl
  • Upload date:
  • Size: 428.8 kB
  • Tags: CPython 3.8+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for tornado-6.3.3-cp38-abi3-win32.whl
Algorithm Hash digest
SHA256 65ceca9500383fbdf33a98c0087cb975b2ef3bfb874cb35b8de8740cf7f41bd3
MD5 0bde36966919a50a84025a5a1601a479
BLAKE2b-256 759b5abb09e5b0e728295ab2830919447e99100ef57c7034b554c62b5aed093c

See more details on using hashes here.

File details

Details for the file tornado-6.3.3-cp38-abi3-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for tornado-6.3.3-cp38-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9dc4444c0defcd3929d5c1eb5706cbe1b116e762ff3e0deca8b715d14bf6ec17
MD5 3b92ab8f0a58efd4f57121b95908bc7d
BLAKE2b-256 77e73ad605fb700cfdca2b6c877713ca51239a5a11272e2340c79fc56849c5c4

See more details on using hashes here.

File details

Details for the file tornado-6.3.3-cp38-abi3-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for tornado-6.3.3-cp38-abi3-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 7d01abc57ea0dbb51ddfed477dfe22719d376119844e33c661d873bf9c0e4a16
MD5 51cc68ce6f7169bdb7129ab710f60942
BLAKE2b-256 d707ffbdc4aa9f55eb006bb0a829b88fe264823df7d8fb9cce5f062720306c10

See more details on using hashes here.

File details

Details for the file tornado-6.3.3-cp38-abi3-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for tornado-6.3.3-cp38-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 ceb917a50cd35882b57600709dd5421a418c29ddc852da8bcdab1f0db33406b0
MD5 e328811ebb471f064318058b515d68ab
BLAKE2b-256 ec85c9e673e59931f793ef32ac8cd13f3f769b13c6ded2c14be9367020f947b7

See more details on using hashes here.

File details

Details for the file tornado-6.3.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tornado-6.3.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1bd19ca6c16882e4d37368e0152f99c099bad93e0950ce55e71daed74045908f
MD5 97c028abafc1320740a7647abacae988
BLAKE2b-256 10eddeb0f6880e0ed0d13e68316a49ceb65817241d80e28fe54c61db16aeb7fa

See more details on using hashes here.

File details

Details for the file tornado-6.3.3-cp38-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.3.3-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 71a8db65160a3c55d61839b7302a9a400074c9c753040455494e2af74e2501f2
MD5 821e0f82859255dcc04673f5cce11d5a
BLAKE2b-256 66a5e6da56c03ff61200d5a43cfb75ab09316fc0836aa7ee26b4e9dcbfc3ae85

See more details on using hashes here.

File details

Details for the file tornado-6.3.3-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for tornado-6.3.3-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 7ac51f42808cca9b3613f51ffe2a965c8525cb1b00b7b2d56828b8045354f76a
MD5 7d7f1fae2e9a7fc4abcff5e0d3b53a71
BLAKE2b-256 be49b60320323b7f5de3cd2fbd7717034eeb870cc5c7bfc641c85c0af9cfbc39

See more details on using hashes here.

File details

Details for the file tornado-6.3.3-cp38-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tornado-6.3.3-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 805d507b1f588320c26f7f097108eb4023bbaa984d63176d1652e184ba24270a
MD5 f12208158a1a3e0a250d4b3f585e2c05
BLAKE2b-256 1317da173efad287dfe1f9dc93c9d6b2a5f9c4fed8ecb23966c9160014cfdd6e

See more details on using hashes here.

File details

Details for the file tornado-6.3.3-cp38-abi3-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for tornado-6.3.3-cp38-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 502fba735c84450974fec147340016ad928d29f1e91f49be168c0a4c18181e1d
MD5 cc94be706a8f0ecd6de40d831d335fcf
BLAKE2b-256 e8524775f3e6630bbc3808e678eb2294beeb654040cf45cc2b66cd6efdcf2571

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page