Skip to main content

Python text differences computer

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

text_diff-0.0.5.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

text_diff-0.0.5-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page