PythonBytes: Structured concurrency in Python
• Structured concurrency in Python with AnyIO
- AnyIO is a Python library providing structured concurrency primitives on top of asyncio.
- Structured concurrency is a programming paradigm aimed at improving the clarity, quality, and development time of a computer program by using a structured approach to concurrent programming.
• The Consortium for Python Data API Standards
- One unintended consequence of the advances in multiple frameworks for data science, machine learning, deep learning and numerical computing is fragmentation and differences in common function signatures.
- The Consortium for Python Data API Standards aims to tackle this fragmentation by developing API standards for arrays (a.k.a. tensors) and dataframes.
• Ask for Forgiveness or Look Before You Leap?
- Think C++ style vs Python style of error handling
- If you “look before you leap”, you first check if everything is set correctly, then you perform an action.
- With “ask for forgiveness,” you don’t check anything. You perform whatever action you want, but you wrap it in a try/catch block.
• myrepos
- You have a lot of version control repositories. Sometimes you want to update them all at once. Or push out all your local changes. You use special command lines in some repositories to implement specific workflows. Myrepos provides a mr command, which is a tool to manage all your version control repositories.
• A deep dive into the official Docker image for Python
- by Itamar Turner-Trauring, via PyCoders
- Wait, there’s an official Docker image for Python
• “Only in a Pandemic” section nannernest: Optimal Peanut Butter and Banana Sandwiches
- Computer vision, deep learning, machine learning, and Python come together to make sandwiches.
https://pythonbytes.fm/episodes/show/197/structured-concurrency-in-python