Tornado Web Server
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 tornado.ioloop
import tornado.web
class MainHandler(tornado.web.RequestHandler):
def get(self):
self.write("Hello, world")
def make_app():
return tornado.web.Application([
(r"/", MainHandler),
])
if __name__ == "__main__":
app = make_app()
app.listen(8888)
tornado.ioloop.IOLoop.current().start()
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 http://www.tornadoweb.org
Metadata
Release files for tornado 5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tornado-5.1.tar.gz | 516.4 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| tornado-5.1-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| tornado-5.1-cp37-cp37m-win32.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-32 | Details |
| tornado-5.1-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
| tornado-5.1-cp36-cp36m-win32.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-32 | Details |
| tornado-5.1-cp35-cp35m-win_amd64.whl | CPython 3.5 | CPython 3.5 pymalloc | Windows x86-64 | Details |
| tornado-5.1-cp35-cp35m-win32.whl | CPython 3.5 | CPython 3.5 pymalloc | Windows x86-32 | Details |
Total release size: 3.2 MB
Release files / tornado-5.1.tar.gz
| Download URL | tornado-5.1.tar.gz |
|---|---|
| Size | 516.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f66a2172cb947387193ca4c2c3e19131f1c70fa8be470ddbbd9317fd0801582
|
|
BLAKE2b-256 checksum How to use checksums |
45ecf2a03a0509bcfca336bef23a3dab0d07504893af34fd13064059ba4a0503
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tornado-5.1-cp37-cp37m-win_amd64.whl
| Download URL | tornado-5.1-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 450.4 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1c0816fc32b7d31b98781bd8ebc7a9726d7dce67407dc353a2e66e697e138448
|
|
BLAKE2b-256 checksum How to use checksums |
f3cbe3027d1216afb74aa37ceaae32628e5bfade25e6e1819b4209de96b9a120
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tornado-5.1-cp37-cp37m-win32.whl
| Download URL | tornado-5.1-cp37-cp37m-win32.whl |
|---|---|
| Size | 449.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
c58757e37c4a3172949c99099d4d5106e4d7b63aa0617f9bb24bfbff712c7866
|
|
BLAKE2b-256 checksum How to use checksums |
3dbcd95632f76dc90edb6831804c1c4c631cf5dfc9b5edaceb658395ae321a48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tornado-5.1-cp36-cp36m-win_amd64.whl
| Download URL | tornado-5.1-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 450.4 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a9b14804783a1d77c0bd6c66f7a9b1196cbddfbdf8bceb64683c5ae60bd1ec6f
|
|
BLAKE2b-256 checksum How to use checksums |
8bd64e4a9282a3fb8555dca2369e827bd844c7f2d1a59c5790d3bfd97eb66206
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tornado-5.1-cp36-cp36m-win32.whl
| Download URL | tornado-5.1-cp36-cp36m-win32.whl |
|---|---|
| Size | 449.8 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
5327ba1a6c694e0149e7d9126426b3704b1d9d520852a3e4aa9fc8fe989e4046
|
|
BLAKE2b-256 checksum How to use checksums |
5a48264b4f06af58029dda214d6af9e9ef566673761f7f2899d40d8755fd1072
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tornado-5.1-cp35-cp35m-win_amd64.whl
| Download URL | tornado-5.1-cp35-cp35m-win_amd64.whl |
|---|---|
| Size | 450.4 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6a7e8657618268bb007646b9eae7661d0b57f13efc94faa33cd2588eae5912c9
|
|
BLAKE2b-256 checksum How to use checksums |
81729e8ac9205157c9221d00df4388c21895b049dff053f38d12045265d338da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tornado-5.1-cp35-cp35m-win32.whl
| Download URL | tornado-5.1-cp35-cp35m-win32.whl |
|---|---|
| Size | 449.8 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
d8984742ce86c0855cccecd5c6f54a9f7532c983947cff06f3a0e2115b47f85c
|
|
BLAKE2b-256 checksum How to use checksums |
f14765870e80e5b8071198cf794aff34b1151b9a1679f7278b28c3585cd5030e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |