Skip to content

Envinorma/text_diff

Repository files navigation

Text Diff

Build Status Documentation Code Coverage

Python diffline wrapper.


Quick Start

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))

Installation

Stable Release: pip install text_diff
Development Head: pip install git+https://github.com/envinorma/text_diff.git

Documentation

For full package documentation please visit envinorma.github.io/text_diff.

Development

See CONTRIBUTING.md for information related to developing the code.

MIT license