Asynchronous Programming in Python (2 days)

This workshop is intended for developers that want to learn asyncio and other new Python features related to asynchronous programming like await and async keywords. The course covers also testing and mocking coroutines.

At this workshop you will learn:

  • How to use key players from asyncio library?
  • When you should use asynchronous programming?
  • How to test and debug asynchronous programs?
  • How to use different event loop implementations?
  • How to isolate your tests with mock library?
  • How to avoid common pitfails related to asyncio?
  • And many, many more.

Check out the detailed course syllabus

1. Introduction to Coroutines

2. asyncio Library

3. Use Cases for Asynchronous Programming

4. Key Players

5. Syntax for Asynchronous Programming

6. Overview of Event Loop Implementation

7. Introduction to Testing with unittest Library

8. Introduction to Test Isolation with mock Library

9. Testing and Mocking Coroutines

10. Debugging Asynchronous Code

11. Common Pitfalls and Mistakes

12. Synchronization between Coroutines

13. Common Async Patterns

Your Trainer - Chris Mędrela

  • Certified Instructor of both Software Carpentry and Data Carpentry, leading organizations providing workshops for scientists and researchers.
  • Open Source contributor - creator of System Check Framework introduced in Django 1.7 in 2014.
  • Delivered workshops for corporations (Nokia, Ericsson, Motorola, Allegro and more) and public sector (Office for National Statistics, Aarhus University).
Your Trainer Chris Mędrela