trycast
trycast parses JSON-like values whose shape is defined by TypedDicts and other standard Python type hints.
- 88
- Python
- MIT
- 5 wk ago
trycast parses JSON-like values whose shape is defined by TypedDicts and other standard Python type hints.
A python 3 library providing functions and decorators to automatically generate class code, such as constructor body or properties getters/setters along with optional support of validation contracts on the generated setters. Its objective is to reduce the amount of copy/paste code in your classes - and hence to help reducing human mistakes :).