The Three of Wands
  • Home

Wall vs CPU time, or the cost of asyncio Tasks

3 years ago 3 min read pythonasyncio
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.
Read Now Read Later
Tin
By: Tin

cattrs I: un/structuring speed

3 years ago 6 min read cattrspython
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.
Read Now Read Later
Tin
By: Tin

Why I use attrs instead of pydantic

4 years ago 11 min read attrscattrspythonpydantic
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.
Read Now Read Later
Tin
By: Tin

On structured and unstructured data, or the case for cattrs

4 years ago 5 min read pythonattrscattrs
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
Read Now Read Later
Tin
By: Tin

The Inner Workings of: Arq

5 years ago 6 min read pythoninner-workings-of
Arq is a job library for Python's asyncio. This article is up-to-date with Arq v0.19 The Point of Job Libraries The main point of (what I colloquially call) a job library is,
Read Now Read Later
Tin
By: Tin
Newer Posts
Page 2 of 4
Older Posts
Powered by Ghost
The Three of Wands