htmlcmp 1.0.1__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- htmlcmp-1.0.2/PKG-INFO +56 -0
- htmlcmp-1.0.2/README.md +37 -0
- {htmlcmp-1.0.1 → htmlcmp-1.0.2}/pyproject.toml +1 -1
- {htmlcmp-1.0.1 → htmlcmp-1.0.2}/setup.py +1 -1
- {htmlcmp-1.0.1 → htmlcmp-1.0.2}/src/htmlcmp/compare_output.py +3 -2
- {htmlcmp-1.0.1 → htmlcmp-1.0.2}/src/htmlcmp/tidy_output.py +2 -1
- htmlcmp-1.0.2/src/htmlcmp.egg-info/PKG-INFO +56 -0
- htmlcmp-1.0.1/PKG-INFO +0 -28
- htmlcmp-1.0.1/README.md +0 -9
- htmlcmp-1.0.1/src/htmlcmp.egg-info/PKG-INFO +0 -28
- {htmlcmp-1.0.1 → htmlcmp-1.0.2}/setup.cfg +0 -0
- {htmlcmp-1.0.1 → htmlcmp-1.0.2}/src/htmlcmp/__init__.py +0 -0
- {htmlcmp-1.0.1 → htmlcmp-1.0.2}/src/htmlcmp/common.py +0 -0
- {htmlcmp-1.0.1 → htmlcmp-1.0.2}/src/htmlcmp/compare_output_server.py +0 -0
- {htmlcmp-1.0.1 → htmlcmp-1.0.2}/src/htmlcmp/html_render_diff.py +0 -0
- {htmlcmp-1.0.1 → htmlcmp-1.0.2}/src/htmlcmp.egg-info/SOURCES.txt +0 -0
- {htmlcmp-1.0.1 → htmlcmp-1.0.2}/src/htmlcmp.egg-info/dependency_links.txt +0 -0
- {htmlcmp-1.0.1 → htmlcmp-1.0.2}/src/htmlcmp.egg-info/entry_points.txt +0 -0
- {htmlcmp-1.0.1 → htmlcmp-1.0.2}/src/htmlcmp.egg-info/top_level.txt +0 -0
htmlcmp-1.0.2/PKG-INFO
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: htmlcmp
|
|
3
|
+
Version: 1.0.2
|
|
4
|
+
Summary: Compare HTML files by rendered output
|
|
5
|
+
Home-page: https://github.com/opendocument-app/compare-html
|
|
6
|
+
Author: Andreas Stefl
|
|
7
|
+
Author-email: stefl.andreas@gmail.com
|
|
8
|
+
Maintainer-email: Andreas Stefl <stefl.andreas@gmail.com>
|
|
9
|
+
Project-URL: homepage, https://opendocument.app/
|
|
10
|
+
Project-URL: source, https://github.com/opendocument-app/compare-html
|
|
11
|
+
Project-URL: download, https://pypi.org/project/pyodr/#files
|
|
12
|
+
Project-URL: tracker, https://github.com/opendocument-app/compare-html/issues
|
|
13
|
+
Project-URL: release notes, https://github.com/opendocument-app/compare-html/releases
|
|
14
|
+
Requires-Python: >=3.7
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
Dynamic: author-email
|
|
17
|
+
Dynamic: home-page
|
|
18
|
+
Dynamic: requires-python
|
|
19
|
+
|
|
20
|
+
# htmlcmp
|
|
21
|
+
|
|
22
|
+
Tool to compare (generated) HTML files visually and automatically using Selenium.
|
|
23
|
+
|
|
24
|
+
Provides various entry points to run:
|
|
25
|
+
- `compare-html` is a CLI tool to compare two directory structures containing HTML files
|
|
26
|
+
- `compare-html-server` starts a webserver and allows to inspect differences manually
|
|
27
|
+
- `html-render-diff` renders two HTML files and produces images
|
|
28
|
+
- `html-tidy` allows to run HTML tidy on a directory
|
|
29
|
+
|
|
30
|
+
Used for regression testing in https://github.com/opendocument-app/OpenDocument.core.
|
|
31
|
+
|
|
32
|
+
## Install via PyPI
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
pip install htmlcmp
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Download and run the docker image
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
docker pull ghcr.io/opendocument-app/odr_core_test
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
docker run -ti \
|
|
46
|
+
-v $(pwd):/repo \
|
|
47
|
+
-p 8000:8000 \
|
|
48
|
+
ghcr.io/opendocument-app/odr_core_test \
|
|
49
|
+
compare-html-server /repo/REFERENCE /repo/MONITORED --compare --driver firefox --port 8000
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Manually build the docker image
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
docker build --tag odr_core_test test/docker
|
|
56
|
+
```
|
htmlcmp-1.0.2/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# htmlcmp
|
|
2
|
+
|
|
3
|
+
Tool to compare (generated) HTML files visually and automatically using Selenium.
|
|
4
|
+
|
|
5
|
+
Provides various entry points to run:
|
|
6
|
+
- `compare-html` is a CLI tool to compare two directory structures containing HTML files
|
|
7
|
+
- `compare-html-server` starts a webserver and allows to inspect differences manually
|
|
8
|
+
- `html-render-diff` renders two HTML files and produces images
|
|
9
|
+
- `html-tidy` allows to run HTML tidy on a directory
|
|
10
|
+
|
|
11
|
+
Used for regression testing in https://github.com/opendocument-app/OpenDocument.core.
|
|
12
|
+
|
|
13
|
+
## Install via PyPI
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pip install htmlcmp
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Download and run the docker image
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
docker pull ghcr.io/opendocument-app/odr_core_test
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
docker run -ti \
|
|
27
|
+
-v $(pwd):/repo \
|
|
28
|
+
-p 8000:8000 \
|
|
29
|
+
ghcr.io/opendocument-app/odr_core_test \
|
|
30
|
+
compare-html-server /repo/REFERENCE /repo/MONITORED --compare --driver firefox --port 8000
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Manually build the docker image
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
docker build --tag odr_core_test test/docker
|
|
37
|
+
```
|
|
@@ -8,8 +8,9 @@ import json
|
|
|
8
8
|
import threading
|
|
9
9
|
import filecmp
|
|
10
10
|
from concurrent.futures import ThreadPoolExecutor
|
|
11
|
-
|
|
12
|
-
from
|
|
11
|
+
|
|
12
|
+
from htmlcmp.html_render_diff import get_browser, html_render_diff
|
|
13
|
+
from htmlcmp.common import bcolors
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
class Config:
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: htmlcmp
|
|
3
|
+
Version: 1.0.2
|
|
4
|
+
Summary: Compare HTML files by rendered output
|
|
5
|
+
Home-page: https://github.com/opendocument-app/compare-html
|
|
6
|
+
Author: Andreas Stefl
|
|
7
|
+
Author-email: stefl.andreas@gmail.com
|
|
8
|
+
Maintainer-email: Andreas Stefl <stefl.andreas@gmail.com>
|
|
9
|
+
Project-URL: homepage, https://opendocument.app/
|
|
10
|
+
Project-URL: source, https://github.com/opendocument-app/compare-html
|
|
11
|
+
Project-URL: download, https://pypi.org/project/pyodr/#files
|
|
12
|
+
Project-URL: tracker, https://github.com/opendocument-app/compare-html/issues
|
|
13
|
+
Project-URL: release notes, https://github.com/opendocument-app/compare-html/releases
|
|
14
|
+
Requires-Python: >=3.7
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
Dynamic: author-email
|
|
17
|
+
Dynamic: home-page
|
|
18
|
+
Dynamic: requires-python
|
|
19
|
+
|
|
20
|
+
# htmlcmp
|
|
21
|
+
|
|
22
|
+
Tool to compare (generated) HTML files visually and automatically using Selenium.
|
|
23
|
+
|
|
24
|
+
Provides various entry points to run:
|
|
25
|
+
- `compare-html` is a CLI tool to compare two directory structures containing HTML files
|
|
26
|
+
- `compare-html-server` starts a webserver and allows to inspect differences manually
|
|
27
|
+
- `html-render-diff` renders two HTML files and produces images
|
|
28
|
+
- `html-tidy` allows to run HTML tidy on a directory
|
|
29
|
+
|
|
30
|
+
Used for regression testing in https://github.com/opendocument-app/OpenDocument.core.
|
|
31
|
+
|
|
32
|
+
## Install via PyPI
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
pip install htmlcmp
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Download and run the docker image
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
docker pull ghcr.io/opendocument-app/odr_core_test
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
docker run -ti \
|
|
46
|
+
-v $(pwd):/repo \
|
|
47
|
+
-p 8000:8000 \
|
|
48
|
+
ghcr.io/opendocument-app/odr_core_test \
|
|
49
|
+
compare-html-server /repo/REFERENCE /repo/MONITORED --compare --driver firefox --port 8000
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Manually build the docker image
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
docker build --tag odr_core_test test/docker
|
|
56
|
+
```
|
htmlcmp-1.0.1/PKG-INFO
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: htmlcmp
|
|
3
|
-
Version: 1.0.1
|
|
4
|
-
Summary: Compare HTML files by rendered output
|
|
5
|
-
Home-page: https://github.com/opendocument-app/compare-html
|
|
6
|
-
Author: Andreas Stefl
|
|
7
|
-
Author-email: stefl.andreas@gmail.com
|
|
8
|
-
Maintainer-email: Andreas Stefl <stefl.andreas@gmail.com>
|
|
9
|
-
Project-URL: homepage, https://opendocument.app/
|
|
10
|
-
Project-URL: source, https://github.com/opendocument-app/compare-html
|
|
11
|
-
Project-URL: download, https://pypi.org/project/pyodr/#files
|
|
12
|
-
Project-URL: tracker, https://github.com/opendocument-app/compare-html/issues
|
|
13
|
-
Project-URL: release notes, https://github.com/opendocument-app/compare-html/releases
|
|
14
|
-
Requires-Python: >=3.7
|
|
15
|
-
Description-Content-Type: text/markdown
|
|
16
|
-
Dynamic: author-email
|
|
17
|
-
Dynamic: home-page
|
|
18
|
-
Dynamic: requires-python
|
|
19
|
-
|
|
20
|
-
# comare-html
|
|
21
|
-
|
|
22
|
-
originally moved out of https://github.com/opendocument-app/OpenDocument.core
|
|
23
|
-
|
|
24
|
-
## Manually build the docker image
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
docker build --tag odr_core_test test/docker
|
|
28
|
-
```
|
htmlcmp-1.0.1/README.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: htmlcmp
|
|
3
|
-
Version: 1.0.1
|
|
4
|
-
Summary: Compare HTML files by rendered output
|
|
5
|
-
Home-page: https://github.com/opendocument-app/compare-html
|
|
6
|
-
Author: Andreas Stefl
|
|
7
|
-
Author-email: stefl.andreas@gmail.com
|
|
8
|
-
Maintainer-email: Andreas Stefl <stefl.andreas@gmail.com>
|
|
9
|
-
Project-URL: homepage, https://opendocument.app/
|
|
10
|
-
Project-URL: source, https://github.com/opendocument-app/compare-html
|
|
11
|
-
Project-URL: download, https://pypi.org/project/pyodr/#files
|
|
12
|
-
Project-URL: tracker, https://github.com/opendocument-app/compare-html/issues
|
|
13
|
-
Project-URL: release notes, https://github.com/opendocument-app/compare-html/releases
|
|
14
|
-
Requires-Python: >=3.7
|
|
15
|
-
Description-Content-Type: text/markdown
|
|
16
|
-
Dynamic: author-email
|
|
17
|
-
Dynamic: home-page
|
|
18
|
-
Dynamic: requires-python
|
|
19
|
-
|
|
20
|
-
# comare-html
|
|
21
|
-
|
|
22
|
-
originally moved out of https://github.com/opendocument-app/OpenDocument.core
|
|
23
|
-
|
|
24
|
-
## Manually build the docker image
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
docker build --tag odr_core_test test/docker
|
|
28
|
-
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|