The Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.
pip install diff-match-patch-cython and then import like normal
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.
Initial PyPI package