Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
rsfern
3y ago
0 comments
Save
Share
Pydantic can do validation. There’s also the related Typer, which builds command line interfaces from the type annotations on your entry point
0 comments
1 comments · 1 top-level
top
newest
oldest
BerislavLopac
3y ago
You might also want to look at
https://www.attrs.org
, which is basically what dataclasses were supposed to be.
j
/
k
navigate · click thread line to collapse