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.5.tar.gz
(10.2 kB
view details)
Built Distribution
File details
Details for the file text_diff-0.0.5.tar.gz
.
File metadata
- Download URL: text_diff-0.0.5.tar.gz
- Upload date:
- Size: 10.2 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 | 4290d1b1514558971480ad6a4423668a3c516d7d8e09ece09370479f94cbf649 |
|
MD5 | 77005b9784958c40357da1362a4d0480 |
|
BLAKE2b-256 | a7c3056e876f360843c5eb51414e4960dd1e2d3d9634101cd9a002c707353837 |
File details
Details for the file text_diff-0.0.5-py2.py3-none-any.whl
.
File metadata
- Download URL: text_diff-0.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 5.3 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 | fd9bc12ef549ab4b53bbbc45b0da3881e97c7cb5b33da9b11f3733d42904c58e |
|
MD5 | 738896021c1755be0d3bdb5e852852f4 |
|
BLAKE2b-256 | 53730afcbb138d09c14d201e2bd17c9d4a3e497c0effbcf90b4e89cefcdc3de3 |