A simple one way diff tool
Project description
ShortDiff
This is a Python implementation of a diff algorithm. It's purpose is to produce one way and as short as possible patch to go from a file to another. This is useful for keeping history of modifications of a text file without keeping a copy of each state (this is the easy part of version control). This produce shorter patch than any output from the GNU diff tool. By the way it is one way witch means the patch to go from A to B is not usable to go from B to A.
Disclaimer
Since it is a pure python script and it is a O(N*M) (where N and M are the number of line of each file) in time complexity it is not very performant. You should not use it in any serious project. As for me I wrote it for educational purpose and I use it in a really small scale project.
Still for educational project there are more naive version in the archive directory. The final module is a refinment of these.
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
Built Distribution
Hashes for ShortDiff-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc0afcef8d8749cf9f4deb85841b8e58667e6306a60e2b353c49b2fe6d29825d |
|
MD5 | 8b7db6b7cc5b20a3fc2f2d1ba1079d8d |
|
BLAKE2b-256 | 0060cc12c4953c484a27dca22f361f8b4265fa78a3aa73eed35358f5cd82969d |