Python is two languages now, and that's actually great
Everyone doing Python nowadays is aware Python supports optional type hints, and has for some time now. This has created a small schism in the community, with some people being completely uninterested in
Wall vs CPU time, or the cost of asyncio Tasks
Performing I/O concurrently is one of asyncio's superpowers (if not its main superpower). This is accomplished, directly or indirectly (through helpers like asyncio.gather), by the creation and use of asyncio tasks.
cattrs I: un/structuring speed
Over the years, I've put a lot of effort into making cattrs fast. Let's take a look at how the cattrs structuring code evolved during this time.
Why I use attrs instead of pydantic
This post is an account of why I prefer using the attrs library over Pydantic. I'm writing it since I am often asked this question and I want to have something concrete to link to.
On structured and unstructured data, or the case for cattrs
If you've ever gone through the Mypy docs, you might have seen the section on TypedDict. The section goes on to introduce the feature by stating: Python programs often use dictionaries with string