A package that can diff single lines
Project description
This is a package that allows you to easily diff a single line. The following are some examples (note that in this example underscores are used instead of bullets due to not rendering properly on Pypi):
>>> print(diff("This is totally just my opinion.", "This is simply my opinion."))
This is totally just my opinion.
This is simp_ly_____ my opinion.
^^^^^ ^^^^^
>>> print(diff("I called but no one answered.", "I tried calling, but no one answered."))
I______ called__ but no one answered.
I tried calling, but no one answered.
^^^^^^ ^^^^
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
File details
Details for the file single_line_diff-0.2.2.tar.gz.
File metadata
- Download URL: single_line_diff-0.2.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f93770a37c093aadef1857930292fcb8684b63419449276fdd9cffa9beab615
|
|
| MD5 |
f34197fd87ea0e042259ead67e573a43
|
|
| BLAKE2b-256 |
36f519e88c386e1eca7b51193fb4d4e11b066da31146e663c03dcd61b042e680
|