Hacker News new | ask | show | jobs
by rsfern 1253 days ago
Pydantic can do validation. There’s also the related Typer, which builds command line interfaces from the type annotations on your entry point
1 comments

You might also want to look at https://www.attrs.org, which is basically what dataclasses were supposed to be.