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.
Source Distribution
googdiff-0.4.0.tar.gz
(3.8 kB
view details)
File details
Details for the file googdiff-0.4.0.tar.gz.
File metadata
- Download URL: googdiff-0.4.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e562492608c592898823714e40b4dcc4cea1c25ba9aaf324e2a6df340e3b10a1
|
|
| MD5 |
1f8d7d7dae49e2cc03b012f8edee4baf
|
|
| BLAKE2b-256 |
79ad1cc3016587f52745f5bd84cad8666d0420b6b041f90c79f7736c226ac906
|