Skip to main content

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.
 ^^^^^^     ^^^^

Release files for single-line-diff 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for single-line-diff 0.2.2
File Size Uploaded
single_line_diff-0.2.2.tar.gz 3.4 kB Details

Release files / single_line_diff-0.2.2.tar.gz

Download URL single_line_diff-0.2.2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5f93770a37c093aadef1857930292fcb8684b63419449276fdd9cffa9beab615
BLAKE2b-256 checksum
How to use checksums
36f519e88c386e1eca7b51193fb4d4e11b066da31146e663c03dcd61b042e680
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page