Skip to content

a simple HTTP client/server tutorial for the Tornado web server

Notifications You must be signed in to change notification settings

scoder/TornadoTutorial

Repository files navigation

A Tornado 6 Tutorial

This is a tutorial for the Python web framework Tornado, version 6.0 and later. It uses the standard asyncio event loop, and adds support for web servers and clients, template handling, websockets, and much more.

This tutorial shows an example of a web frontend (under frontend/) and a web service backend (under fortunes/. It reads fortune cookie files from several other github repositories and returns a combined page (or JSON response) for them.

The examples show how to do parallel HTTP requests (frontend/app.py, fortunes/data.py, getparallel.py), how to write a simple HTTP webserver (frontend/app.py), and a somewhat less simple web service backend server (fortunes/serve.py).

About

a simple HTTP client/server tutorial for the Tornado web server

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published