Show HN: Python class typing that raises TypeError at runtime (github.com)

2 points by 6r17 ↗ HN
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 ! :)

1 comment

[ 3.2 ms ] story [ 14.6 ms ] thread
What's the merit compared with pydantic or beartype?