title: Convert JSON to XML in Python
body: <p>I see a number of questions on SO asking about ways to convert XML to JSON, but I'm interested in going the other way. Is there a python library for converting JSON to XML?</p>
  
  <hr>
  
  <p><strong>Edit:</strong> Nothing came back right away, so I went ahead and wrote a script that solves this problem. </p>
  
  <p>Python already allows you to convert from JSON into a native dict (using <code>json</code> or, in versions &lt; 2.6, <code>simplejson</code>), so I wrote a library that converts native dicts into an XML string.</p>
  
  <p><a href="https://github.com/quandyfactory/dict2xml" rel="noreferrer">https://github.com/quandyfactory/dict2xml</a></p>
  
  <p>It supports int, float, boolean, string (and unicode), array and dict data types and arbitrary nesting (yay recursion). </p>
  
  <p>I'll post this as an answer once 8 hours have passed.</p>