titus.producer.tools.look

titus.producer.tools.look(expr, maxDepth=8, inlineDepth=2, indexWidth=30, dropAt=True, stream=<open file '<stdout>', mode 'w' at 0x7faed694f150>)[source]

Print a JSON object on the screen in a readable way.

maxDepth: maximum depth to show before printing ellipsis (...) inlineDepth: maximum depth to show on a single line indexWidth: width (in characters) of the index column on the left dropAt: don’t show “@” keys stream: allows the output to be sent to a file or stream.