Python text differences computer
Project description
Text Diff
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
Release history Release notifications | RSS feed
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.4.tar.gz
(10.1 kB
view details)
Built Distribution
File details
Details for the file text_diff-0.0.4.tar.gz
.
File metadata
- Download URL: text_diff-0.0.4.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a2f49e6717815f0283e7d3bbd7c1ddba543ec32e985a8868a51bb23ec07255a |
|
MD5 | ccd3fceb35b050567ab28a0a7f0b57d6 |
|
BLAKE2b-256 | 93257022250753d5f7ee47b847f941fcf144427549551d7f0526412a519b2ad8 |
File details
Details for the file text_diff-0.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: text_diff-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 215e1760d19500268a6aa2bddcd9e1f9103d03596c9b50ddc8957d4f39e2080c |
|
MD5 | 82e02ec6870f89530a0cdd541bdf9f31 |
|
BLAKE2b-256 | 822fd5c37f8805d2486fd93959861cfef2856aa655b541be7dda93b27f4c5939 |