I'm wondering if it would be useful to add a __str__ and/or __repr__ to the generator the diff(..) call produces that then renders the diff to the console, this to make it convenient to use the tool in a shell to use this to show the difference of two dictionaries.