title: Convert python dictionary to JavaScript object literal
body: <p>Using json.dumps I can convert a dictionary to json format like this:</p>
  
  <pre><code>&gt;&gt;&gt; from json import dumps
  &gt;&gt;&gt; dumps({'height': 100, 'title': 'some great title'})
  '{"title": "some great title", "height": 100}'
  </code></pre>
  
  <p>However, I'm looking to turn my dictionary into a javascript literal, like this:</p>
  
  <pre><code>{title: "some great title", height: 100}
  </code></pre>
  
  <p>(Notice there are no double quotes around title and height.)</p>
  
  <p>Is there a Python library to do this?</p>