An open API service indexing awesome lists of open source software.

https://github.com/anastasia/htmldiffer


https://github.com/anastasia/htmldiffer

diff html html-diff python

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

### This is unmaintained. If you would like to maintain it, please DM me with your thoughts about this project.

## htmldiffer
[![Build Status](https://travis-ci.org/anastasia/htmldiffer.svg?branch=develop)](https://travis-ci.org/anastasia/htmldiff)
#### highlight the differences between two html files
#
### To install:
```
pip install htmldiffer
```

Or
```
$ git clone git@github.com:anastasia/htmldiffer.git
$ cd htmldiffer
$ python -m htmldiffer file_one.html file_two.html
```

HTMLDiffer will take strings or files and return three html diffs: deleted diff, inserted diff, and a combined diff (showing both the deleted and inserted highlights). To use this in a library:
HTMLDiffer will
+ surround any text-level changes with `Hello world!Hello wanda! Hello!Hello world!wanda! Hello!