The Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.
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.
Initial PyPI package