<div class="gmail_quote">On Tue, Apr 21, 2009 at 5:02 PM, Raymond Hettinger <span dir="ltr"><<a href="mailto:python@rcn.com">python@rcn.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
PyYAML ( <a href="http://pyyaml.org/wiki/PyYAML" target="_blank">http://pyyaml.org/wiki/PyYAML</a> ) is a full implementation of<br>
the YAML standard. It uses the YAML's application-specific tags and<br>
Python's own copy/reduce logic to provide the same power as pickle itself.<br>
<br>
Kwalify ( <a href="http://www.kuwata-lab.com/kwalify/ruby/users-guide.01.html" target="_blank">http://www.kuwata-lab.com/kwalify/ruby/users-guide.01.html</a> )<br>
is a schema validator written in Ruby and Java. It defines a<br>
YAML/JSON based schema definition for enforcing tight constraints<br>
on incoming data.<br>
</blockquote><div><br>+1 on the general idea. I abandoned pickle for JSON/YAML long ago.<br><br>To be useful, wouldn't a schema validator have to be built-in to the YAML parser?<br></div></div><blockquote style="margin: 1.5em 0pt;">
--<br>
Daniel Stutzbach, Ph.D.<br>
President, <a href="http://stutzbachenterprises.com">Stutzbach Enterprises, LLC</a>
</blockquote>