https://github.com/anastasia/htmldiffer
https://github.com/anastasia/htmldiffer
diff html html-diff python
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anastasia/htmldiffer
- Owner: anastasia
- License: mit
- Created: 2017-03-11T20:13:06.000Z (almost 9 years ago)
- Default Branch: develop
- Last Pushed: 2022-06-30T13:22:37.000Z (over 3 years ago)
- Last Synced: 2025-03-01T02:38:24.161Z (11 months ago)
- Topics: diff, html, html-diff, python
- Language: Python
- Size: 92.8 KB
- Stars: 8
- Watchers: 4
- Forks: 9
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
[](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!