Skip to content

feihong/asyncio-tasks-talk

Repository files navigation

Using Tasks in Your Asyncio Web App

Introduction

In this talk, I cover how to implement different types of tasks in an asyncio-based web application, including how to start them, stop them, and send incremental data to a web frontend using websockets. I will also spend a little time reviewing asyncio concepts.

Slides

View the slides on SpeakerDeck

View the slides as a single web page (includes notes)

Running example programs

Install all dependencies:

mkvirtualenv -p python3 asyncio-talk
pip install -r requirements.txt
# Make sure you have Node installed, then run:
npm install -g stylus rapydscript-ng

Now cd into any of the example directories and run:

muffin app run

The app will be served at http://localhost:5000.

License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

About

A talk about using tasks in asyncio-based web apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published