Python class to take the difference of two python dictionaries:
- what was added,
- what was removed,
- which key-value pairs are the same, and
- which key-value pairs are changed
Generates only top-level differences and does not recurse.
Originally presented in a Stack Overflow answer.
DictDiffer is licensed as MIT code according to the LICENSE file.