Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Python class typing that raises TypeError at runtime (github.com/6r17)
2 points by 6r17 on May 27, 2023 | hide | past | favorite | 1 comment
Hi HN !

I was getting a bit sick of how I was managing structures in Python, I needed something that would trivially be translated to json, had some kind of verification, and had the ability to output a json-schema to communicate the format.

I plan to add more documentation and customization to the package in regards of schema generation and custom validation.

For python 3.9 +

I hope this will be useful ! :)



What's the merit compared with pydantic or beartype?




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

Search: