title: Pretty-printing JSON with ASCII color in python
body: <p>I'm looking to print JSON to the command line, in python, with ASCII colors. For example, the (excellent) <code>jq</code> utility will color-ify JSON using bold ASCII colors like so:</p>
  
  <ul>
  <li>input: <code>curl --silent http://coinabul.com/api.php  | jq .</code></li>
  <li>output:<br>
  <img src="https://i.stack.imgur.com/2USU4.png" alt="jq output"></li>
  </ul>
  
  <p>Does anyone know how to accomplish this effect from Python? A couple of SO questions provide some good information on using ASCII colors from python (e.g. <a href="https://stackoverflow.com/questions/287871/print-in-terminal-with-colors-using-python">Print in terminal with colors using Python?</a>), but this effect requires combining the pretty-printing machinery with the colorify-ing machinery in a different way, I think.</p>