selik/destructure
View on GitHub ↗ ★ 9 Python
Easy declarative schema validation with optional name-binding. Gives Python a switch/case.
3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2017-05-05 · latest 2017-11-05
20082026
-
https://github.com/selik/destructure Similar design to Voluptuous, but it also supports a destructuring bind instead of just validation.
comment by xapata · 2017-11-05 · in Show HN: PySchemes – A library for validating data structures in Python -
Give `destructure` a try https://github.com/selik/destructure
comment by msellout · 2017-05-06 · in Box: Python dictionaries with recursive dot notation access -
What do you think of this library: https://github.com/selik/destructure It'll enforce schema and destructure the nested dict/list that results from JSON decoding.
comment by msellout · 2017-05-05 · in Box: Python dictionaries with recursive dot notation access