Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python class to calculate the difference between two python dictionaries
Python
branch: master

Change to python 3.4

latest commit 59635ef42a
Hugh Brown authored

README.md

DictDiffer

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.

License

DictDiffer is licensed as MIT code according to the LICENSE file.

Something went wrong with that request. Please try again.