Training: Asynchronous Programming in Python

Recommended Duration 3 days (minimum 6 hours + breaks each day)
Requirements basic Python skills
Intended Audience Python Developers
Language Polish or/and English
Main Technologies Python, asyncio, unittest, mock

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.


  1. Introduction to Coroutines
  2. asyncio Library
  3. Use Cases for Asynchronous Programming
  4. Key Players
    1. Coroutines (both Functions and Objects)
    2. Futures
    3. Tasks
    4. Loop
  5. Syntax for Async Programming
    1. Asynchronous Functions (async def)
    2. Asynchronous Loops (async for)
    3. Asynchronous Context Managers (async with)
  6. Old Syntax for Coroutines (yield from)
  7. Integrating code Written in both Old and New Styles
  8. Overview of Event Loop Implementations
  9. Introduction to Testing with unittest Library
  10. Introduction to Mocking with mock Library
  11. Testing and Mocking Coroutines
  12. Debugging Asynchronous Code
  13. Common Pitfalls and Mistakes
  14. Synchronization between Coroutines
  15. Common Async Patterns

Are you interested?

Profile Picture

Don’t hesitate to contact me if you’re interested or you want to ask a question. You can expect:

No risk – if you were disappointed after my workshop, you would not pay for it.

A customized syllabus after a free discovery call. During the call, I’ll analyze your needs and we’ll decide on next steps. Please include your availability for the call.