This question describes several solutions for producing a hash value for a Python dictionary.
Some solutions work only with strings. One works with non-strings, but uses the hash
function, which is not cross-platform.
Is there a simple cross-platform hash of a Python dict?
I'm using Python 3.