3 ms·
To help answer your question, here's a detailed comparison from the attrs project: https://www.attrs.org/en/stable/why.html https://www.attrs.org/en/stable/why
by rsyring 1y ago
To help answer your question, here's a detailed comparison from the attrs project:
https://www.attrs.org/en/stable/why.html https://www.attrs.org/en/stable/why.html
There's some obvious potential for bias there, but I thought most of the arguments were well reasoned.
Edit: found another that I thought was helpful: https://threeofwands.com/why-i-use-attrs-instead-of-pydantic/ https://threeofwands.com/why-i-use-attrs-instead-of-pydantic...