Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
Project Links
Meta
Author: Facebook
Requires Python: >= 3.9
Classifiers
License
- OSI Approved :: Apache Software License
Programming Language
- Python :: 3
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
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
May 22, 2025
6.5.1
May 15, 2025
6.5
Apr 30, 2025
6.5b1
Nov 22, 2024
6.4.2
Jun 06, 2024
6.4.1
Nov 29, 2023
6.4
Nov 16, 2023
6.4b1
Aug 11, 2023
6.3.3
May 14, 2023
6.3.2
Apr 21, 2023
6.3.1
Apr 18, 2023
6.3
Apr 09, 2023
6.3b1
Jul 03, 2022
6.2
Jun 18, 2022
6.2b2
Jun 11, 2022
6.2b1
Oct 30, 2020
6.1
Oct 25, 2020
6.1b2
Sep 30, 2020
6.1b1
Mar 04, 2020
6.0.4
Jun 23, 2019
6.0.3
Mar 23, 2019
6.0.2
Mar 03, 2019
6.0.1
Mar 01, 2019
6.0
Feb 10, 2019
6.0b1
Jan 02, 2019
6.0a1
Sep 16, 2018
5.1.1
Jul 11, 2018
5.1
Jun 11, 2018
5.1b1
Apr 08, 2018
5.0.2
Mar 18, 2018
5.0.1
Mar 05, 2018
5.0
Jan 27, 2018
5.0b1
Dec 27, 2017
5.0a1
Jan 06, 2018
4.5.3
Aug 27, 2017
4.5.2
Apr 20, 2017
4.5.1
Apr 16, 2017
4.5
Apr 11, 2017
4.5b2
Mar 26, 2017
4.5b1
Mar 30, 2017
4.4.3
Sep 30, 2016
4.4.2
Jul 23, 2016
4.4.1
Jul 15, 2016
4.4
Jul 08, 2016
4.4b1
Nov 06, 2015
4.3
Oct 24, 2015
4.3b2
Oct 18, 2015
4.3b1
Jul 17, 2015
4.2.1
May 27, 2015
4.2
May 10, 2015
4.2b1
Feb 07, 2015
4.1
Feb 01, 2015
4.1b2
Sep 11, 2014
4.0.2
Aug 12, 2014
4.0.1
Jul 15, 2014
4.0
Jun 04, 2014
3.2.2
May 06, 2014
3.2.1
Jan 14, 2014
3.2
Sep 01, 2013
3.1.1
Jun 15, 2013
3.1
Jun 02, 2013
3.0.2
Apr 09, 2013
3.0.1
Mar 29, 2013
3.0
Nov 25, 2012
2.4.1
Sep 04, 2012
2.4
Jun 01, 2012
2.3
May 22, 2014
2.2.1
May 22, 2014
2.2
May 22, 2014
2.1.1
May 22, 2014
2.1
May 22, 2014
2.0
May 22, 2014
1.2.1
May 22, 2014
1.2
May 22, 2014
1.1.1
May 22, 2014
1.1
Jul 23, 2010
1.0
May 18, 2010
0.2
Wheel compatibility matrix
Files in release
No dependencies