Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.