tornado (original) (raw)

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 forlong 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 athttps://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

Built Distributions

File details

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

File metadata

File hashes

Hashes for tornado-6.4.2.tar.gz | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 92bad5b4746e9879fd7bf1eb21dce4e3fc5128d71601f80005afa39237ad620b | | | MD5 | c3a490d9cea9360ecd0805e4c2d1e87e | | | BLAKE2b-256 | 5945a0daf161f7d6f36c3ea5fc0c2de619746cc3dd4c76402e9db545bd920f63 | |

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.4.2-cp38-abi3-win_amd64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 908b71bf3ff37d81073356a5fadcc660eb10c1476ee6e2725588626ce7e5ca38 | | | MD5 | d3b671195f478fc4d98403f79e876018 | | | BLAKE2b-256 | 61cc58b1adeb1bb46228442081e746fcdbc4540905c87e8add7c277540934edb | |

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.4.2-cp38-abi3-win32.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 2876cef82e6c5978fde1e0d5b1f919d756968d5b4282418f3146b79b58556482 | | | MD5 | 5dcd3f3d6fea0084b091f30f01e0e23b | | | BLAKE2b-256 | b52536dbd49ab6d179bcfc4c6c093a51795a4f3bed380543a8242ac3517a1751 | |

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.4.2-cp38-abi3-musllinux_1_2_x86_64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 932d195ca9015956fa502c6b56af9eb06106140d844a335590c1ec7f5277d10c | | | MD5 | 9413ff11071860db1264ea1c0007b917 | | | BLAKE2b-256 | 2baec1b22d4524b0e10da2f29a176fb2890386f7bd1f63aacf186444873a88a0 | |

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.4.2-cp38-abi3-musllinux_1_2_i686.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | c82c46813ba483a385ab2a99caeaedf92585a1f90defb5693351fa7e4ea0bf73 | | | MD5 | 3f7415c6dbc617a7760293b31432ac67 | | | BLAKE2b-256 | f5334f91fdd94ea36e1d796147003b490fe60a0215ac5737b6f9c65e160d4fe0 | |

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.4.2-cp38-abi3-musllinux_1_2_aarch64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 304463bd0772442ff4d0f5149c6f1c2135a1fae045adf070821c6cdc76980634 | | | MD5 | a5fa959cef52940834609b4f3c816d8e | | | BLAKE2b-256 | 795ebe4fb0d1684eb822c9a62fb18a3e44a06188f78aa466b2ad991d2ee31104 | |

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.4.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 1a017d239bd1bb0919f72af256a970624241f070496635784d9bf0db640d3fec | | | MD5 | 75df354bcb3814df4f14e5c8941454a3 | | | BLAKE2b-256 | cbfbfdf679b4ce51bcb7210801ef4f11fdac96e9885daa402861751353beea6e | |

See more details on using hashes here.

Provenance

The following attestation bundles were made for tornado-6.4.2-cp38-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.4.2-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.4.2-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | bca9eb02196e789c9cb5c3c7c0f04fb447dc2adffd95265b2c7223a8a615ccbf | | | MD5 | aa40d8528437239fe62144be93be8903 | | | BLAKE2b-256 | 2255b78a464de78051a30599ceb6983b01d8f732e6f69bf37b4ed07f642ac0fc | |

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.4.2-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | c36e62ce8f63409301537222faffcef7dfc5284f27eec227389f2ad11b09d946 | | | MD5 | 87053d5ce5e9f422ae794ad651f8066c | | | BLAKE2b-256 | 4f3be31aeffffc22b475a64dbeb273026a21b5b566f74dee48742817626c47dc | |

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.4.2-cp38-abi3-macosx_10_9_x86_64.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 072ce12ada169c5b00b7d92a99ba089447ccc993ea2143c9ede887e0937aa803 | | | MD5 | 208724dc34bdbf34b3ec55839a3116bb | | | BLAKE2b-256 | 964487543a3b99016d0bf54fdaab30d24bf0af2e848f1d13d34a3a5380aabe16 | |

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tornado-6.4.2-cp38-abi3-macosx_10_9_universal2.whl | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | e828cce1123e9e44ae2a50a9de3055497ab1d0aeb440c5ac23064d9e44880da1 | | | MD5 | 5cbbee7e216906280ee5e16059f7de84 | | | BLAKE2b-256 | 267e71f604d8cea1b58f82ba3590290b66da1e72d840aeb37e0d5f7291bd30db | |

See more details on using hashes here.

Provenance

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