Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2017 (3)
20082026
  1. https://github.com/selik/destructure Similar design to Voluptuous, but it also supports a destructuring bind instead of just validation.
  2. Give `destructure` a try https://github.com/selik/destructure
  3. 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.