TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Python class typing that raises TypeError at runtime

2 pointsby 6r17almost 2 years ago
Hi HN !<p>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.<p>I plan to add more documentation and customization to the package in regards of schema generation and custom validation.<p>For python 3.9 +<p>I hope this will be useful ! :)

1 comment

hsfzxjyalmost 2 years ago
What&#x27;s the merit compared with pydantic or beartype?