differently
is a CLI tool and Python package for visualising the differences between objects.
pip install differently
On the command line, run differently
with the two files to compare:
bash file1 file2
To compare two strings, create a TextDifferently
instance:
from differently import TextDifferently
print(TextDifferently("foo", "bar"))
To compare two lists, create a ListDifferently
instance:
from differently import TextDifferently
print(ListDifferently(["foo"], ["bar"]))