Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

attrs + cattrs is pretty close. I know it’s not in the stdlib, but dataclasses were modelled on attrs in the first place and using attrs + cattrs feels quite a bit more idiomatic than Pydantic.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: