Re:Lesser known parts of Python standard library – Trickster...
by gcr on Thursday September 05, 2024 @11:53AM
(#41457793)
Any reason not to consider pydantic as the next step?
[ Parent
| on HN ]
Re:Lesser known parts of Python standard library – Trickster...
by JimDabell on Thursday September 05, 2024 @01:32PM
(#41458776)
Every time I’ve used Pydantic I’ve found it to be a tonne of friction. The developer ergonomics just don’t seem right.
These days I use attrs and cattrs, and I’m much happier. Everything feels a lot more straightforward.
attrs is what Python’s dataclasses were based on, but they kept on improving it, so attrs just feels like standard Python with a little bit extra.