The Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.
Install with pip install diff-match-patch-cython and then import like normal import diff_match_patch.
Build with Cython - mucho faster.
Python bundle documentation on BitBucket:
Documentation on the Google site:
See README.original.txt for the original README.
This is an unofficial package of the Python versions for PyPI, by Luke Plant http://lukeplant.me.uk/
See https://bitbucket.org/spookylukey/diff-match-patch for packaging issues.
Upstream release Added Cython support.
- Python 3 packaging bug (python3 directory excluded)
- Other packaging bugs (extra files included).
Initial PyPI package