Skip to main content

A wrapper of Google's diff-match-patch module.

Project description

googdiff: command-line diff tool, a wrapper of Google's diff-match-patch module.

See the API doc of Google's diff-match-patch module.

Install googdiff with pip

pip install googdiff

Usage

# Usage info
googdiff --help

# Show diffs in console mode:
googdiff file1 file2

# or:
googdiff -c file1 file2

# Show diffs in web browser:
googdiff -b file1 file2

Git diff with googdiff

# in text mode:
git difftool -y --extcmd=googdiff

# or, in browser:
git difftool -y --extcmd='googdiff -b'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for googdiff, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size googdiff-0.4.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page