Comment by Arnavion
3 years ago
It's called sans-io in Python land, which is where I heard it first.
https://sans-io.readthedocs.io/
I did it for one of my Rust projects back in 2018 https://github.com/Arnavion/k8s-openapi/commit/9a4fbb718b119... , and it's older than that in Python land.
The above sans-io page links to this PyCon 2016 talk:
Cory Benfield - Building Protocol Libraries The Right Way https://youtu.be/7cC3_jGwl_U