Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wagoodman/diff2HtmlCompare
Side-by-side diff shown in HTML
https://github.com/wagoodman/diff2HtmlCompare
compare-files diff html python
Last synced: 1 day ago
JSON representation
Side-by-side diff shown in HTML
- Host: GitHub
- URL: https://github.com/wagoodman/diff2HtmlCompare
- Owner: wagoodman
- License: mit
- Created: 2015-04-25T03:51:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-03T11:48:39.000Z (3 months ago)
- Last Synced: 2024-11-10T01:42:27.717Z (4 days ago)
- Topics: compare-files, diff, html, python
- Language: Python
- Homepage:
- Size: 193 KB
- Stars: 144
- Watchers: 7
- Forks: 57
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# diff2HtmlCompare
A python script that takes two files and compares the differences between them (side-by-side) in an HTML format. Supports both python2 and python3.
### Installation
```
pip install -r requirements.txt
```### Usage
```
diff2HtmlCompare.py [-h] [-s] [-v] file1 file2positional arguments:
file1 file to compare ("before" file).
file2 file to compare ("after" file).optional arguments:
-h, --help show this help message and exit
-s, --show show html in a browser.
-v show verbose output.
```
### Example Output![ScreenShot](/screenshots/latest.png)