Re:Attrs – the Python library everyone needs (2016)
by joshuamorton on Friday December 24, 2021 @04:39PM
(#29677992)
Pydantic is useful if you're dealing with parsing unstructured (or sort of weakly untrusted) data. If you just want "things that feel like structs", dataclassess or attrs are going to be just as easy and more performant (and due to using decorators and not metaclasses, more capable of playing nicely with other things).
[ Parent
| on HN ]
There are no comments on this comment yet.