Skip to content

Python implementation of myers diff algoirthm

Notifications You must be signed in to change notification settings

amar-b/myersdiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

myersdiff

Python implementation of Myers diff algoirthm. Follows implementation described in James Coglan's blog. Displays ANSI colors in applicable terminals.

Example usage

$ python myersdiff.py "abcef" "abXefg"
  a
  b
- c
+ X
  e
  f
+ g

Help

usage: myersdiff.py [-h] [-t {file,str}] left right

Myers Differ

positional arguments:
  left           left file path or string
  right          right file path or string

optional arguments:
  -h, --help     show this help message and exit
  -t {file,str}  input type: file or string (default: str)

About

Python implementation of myers diff algoirthm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages