Basically a Python port of substack's json-stable-stringify with just the default options.
pip install json_stable_stringify_python
>>> import json_stable_stringify_python as json_stable
>>> json_stable.stringify({'z': 1, 'a': 2})
'{"a":2,"z":1}'
json-stable-stringify port for python: deterministic JSON stringify
PythonMIT
Basically a Python port of substack's json-stable-stringify with just the default options.
pip install json_stable_stringify_python
>>> import json_stable_stringify_python as json_stable
>>> json_stable.stringify({'z': 1, 'a': 2})
'{"a":2,"z":1}'