Python diffline wrapper.
from text_diff import text_differences
text_1 = [
'Hello',
'World',
'How are you ?',
]
text_2 = [
'Hello',
'World!',
'How are u ?',
]
diff = text_differences(text_1, text_2)
for line in diff.diff_lines:
print(type(line))
Stable Release: pip install text_diff
Development Head: pip install git+https://github.com/envinorma/text_diff.git
For full package documentation please visit envinorma.github.io/text_diff.
See CONTRIBUTING.md for information related to developing the code.
MIT license