simplediff is an implementation of a diff function similar to Ratcliff/Metzener1
See the Python code for the reference implementation.
The Python version is available through pip:
pip install simplediff
npm install simplediff
The PHP and Python code was written by me (Paul Butler) in 2007 and 2008 respectively.
The CoffeeScript port was contributed by vjeux (2012).
Python unit tests contributed by Felipe (fmartingr), 2013.
PHP fix contributed by multiwebinc, 2013.
Lua port contributed by Philippe Fremy, 2015.
For more details, see the Python readme