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 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
+ ```
@@ -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
+ ```
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "htmlcmp"
3
- version = "1.0.1"
3
+ version = "1.0.2"
4
4
  description = "Compare HTML files by rendered output"
5
5
  classifiers = []
6
6
  authors = [
@@ -7,7 +7,7 @@ long_description = (this_directory / "README.md").read_text()
7
7
 
8
8
  setup(
9
9
  name="htmlcmp",
10
- version="1.0.1",
10
+ version="1.0.2",
11
11
  author="Andreas Stefl",
12
12
  author_email="stefl.andreas@gmail.com",
13
13
  description="Compare HTML files by rendered output",
@@ -8,8 +8,9 @@ import json
8
8
  import threading
9
9
  import filecmp
10
10
  from concurrent.futures import ThreadPoolExecutor
11
- from html_render_diff import get_browser, html_render_diff
12
- from common import bcolors
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:
@@ -7,7 +7,8 @@ import argparse
7
7
  import json
8
8
  import subprocess
9
9
  import shlex
10
- from common import bcolors
10
+
11
+ from htmlcmp.common import bcolors
11
12
 
12
13
 
13
14
  def tidy_json(path):
@@ -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,9 +0,0 @@
1
- # comare-html
2
-
3
- originally moved out of https://github.com/opendocument-app/OpenDocument.core
4
-
5
- ## Manually build the docker image
6
-
7
- ```bash
8
- docker build --tag odr_core_test test/docker
9
- ```
@@ -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