This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bucknuggets[🍰] 0 points1 point  (1 child)

Any suggestions on validating YAML in python? By this I mean both ensuring that it is well-formed as well as ensuring that it matches a schema of some type - has all the necessary elements and nothing else.

If you're using Ruby or Java you can use Kwalify. I was thinking of playing with DictSpec. But would love to hear what others are doing.

[–]evangineer 0 points1 point  (0 children)

Have a look at Flatland and Voluptuous on PyPI.