Project description
# WDIFF HTML
Uses [GNU wdiff][wdiff] to generate a word based diff from plain text files.
The results are modified to use HTML <ins> and <del> tags and can be
wrapped in a full HTML document.
# Installation
Use pip:
` pip install [--user] wdiffhtml `
Or clone the source and use setup.py :
` git clone https://github.com/brutus/wdiffhtml.git cd wdiffhtml python setup.py install [--user] `
# Usage
wdiffhtml writes to _STDOUT_. To get a plain diff which uses <ins> and
<del> tags to mark changes use:
` wdiffhtml text_org.txt text_new.txt `
To create a HTML file for viewing, use the –wrap-with-html option:
` wdiffhtml --wrap-with-html text_org.txt text_new.txt > mydiff.html `
You can use your own HTML template, CSS and / or Javascript to wrap the output.
There are command line options to set the files on fly, or you can create them
in your data directory (~/.local/share/wdiffhtml/ ) so they get used
automatically.
See wdiffhtml –help for more informations.
# Contact
__wdiffhtml__ is at home at https://github.com/brutus/wdiffhtml
[wdiff]: https://www.gnu.org/software/wdiff/wdiff.html
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages .
Source Distribution
Built Distributions
File details
Details for the file wdiffhtml-0.6.1.tar.gz
.
File metadata
Download URL:
wdiffhtml-0.6.1.tar.gz
Upload date: Apr 7, 2016
Size: 18.6 kB
Tags: Source
Uploaded using Trusted Publishing? No
File hashes
Hashes for wdiffhtml-0.6.1.tar.gz
Algorithm
Hash digest
SHA256
dde20ea7e10f0bd26edcb79be678b0ac147684eb8e8c3ae71e269835debad9c6
Copy
MD5
b8e4e9c31b5c0af24861399411527147
Copy
BLAKE2b-256
b2991ac806224b2d5c437957ac923ea13594cdc396d51f1b3921c665c691885a
Copy
See more details on using hashes here.
File details
Details for the file wdiffhtml-0.6.1-py3-none-any.whl
.
File metadata
File hashes
Hashes for wdiffhtml-0.6.1-py3-none-any.whl
Algorithm
Hash digest
SHA256
ca4a0390cba7155df8cf6126724069b5fd0524785b929eda190be85ef7614a2b
Copy
MD5
a27651a2812702f3d4b7405a124e9d7e
Copy
BLAKE2b-256
9a666ef5ca6d7ae4ad133e8d1608e82c39da8ea9d6610042c176a55e0ca3865d
Copy
See more details on using hashes here.
File details
Details for the file wdiffhtml-0.6.1-py2.py3-none-any.whl
.
File metadata
File hashes
Hashes for wdiffhtml-0.6.1-py2.py3-none-any.whl
Algorithm
Hash digest
SHA256
b92a23f4b5c2d660fcdc311dd0373dff4f6eb2d6c5a653d679c504864f43a606
Copy
MD5
b1589a0494118b8ff67fce9ffa412e45
Copy
BLAKE2b-256
af425445a2cb9b2e8e7bfa8fc52843717e1f83337ec2294b2ef9e346f8910264
Copy
See more details on using hashes here.