On Mon, Jan 22, 2018 at 4:33 PM, 'Alexandre Y. Harano' via
python-tulip <
python...@googlegroups.com> wrote:
> I would like to make a syllabus for a 2-hours asyncio
> hands-on workshop targeting {beginner,intermediate}-level Python users to
> present at regional Python conferences.
Hello, Alexandre!
I presented a tutorial like that at PyBay 2017 and at PythonBrasil
2017 (an evening activity, after the conference). If you'd like a
co-author, let's talk.
This is what I have:
Slides:
https://speakerdeck.com/ramalho/python-concurrency-at-pybay
Code:
https://github.com/fluentpython/concurrency
The examples are rather simple, but I just have not found a way to
cover more ground at an introductory 3-hour async/await tutorial. That
material was pretty challenging for the audiences in San Francisco and
Belo Horizonte.
Of course, there is room for improvement.
Regarding libraries, unfortunately the standard lib only supports
socket programming which is too low level for simple yet motivating
examples. For a basic HTTP client it's better to use aiohttp. I'd like
to develop an example using aiopg, because it exemplifies very nicely
the use of async with and async for.
Cheers,
Luciano
--
Luciano Ramalho
| Author of Fluent Python (O'Reilly, 2015)
|
http://shop.oreilly.com/product/0636920032519.do
| Technical Principal at ThoughtWorks
| Twitter: @ramalhoorg