diff2html 1.0__tar.gz → 1.0.1__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.
@@ -0,0 +1,64 @@
1
+ Metadata-Version: 2.4
2
+ Name: diff2html
3
+ Version: 1.0.1
4
+ Summary: CLI wrapper for Pythons Difflib builtin
5
+ Author-email: "tim.pillinger" <tim.pillinger@metoffice.gov.uk>
6
+ License-Expression: MIT
7
+ Keywords: diff,html,difftool,difflib,cli
8
+ Classifier: Programming Language :: Python
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE.md
11
+ Provides-Extra: test
12
+ Requires-Dist: pytest; extra == "test"
13
+ Requires-Dist: flake8; extra == "test"
14
+ Dynamic: license-file
15
+
16
+ # Diff2HTML
17
+
18
+ Python's difflib is a great standard library feature.
19
+
20
+ But I wanted a command line version.
21
+
22
+ ## Installation
23
+
24
+ ```
25
+ pip install diff2html
26
+ ```
27
+
28
+ ## Usage
29
+
30
+ ```
31
+ diff2html fileA fileB --output diff.html
32
+ firefox diff.html
33
+ ```
34
+
35
+ ## Full help
36
+
37
+ ```
38
+ usage: Compare two files and produce a well formatted diff in an HTML file.
39
+
40
+ A command line wrapper for Python's difftool.
41
+
42
+ [-h] [-l STRIP_LEFT] [-r STRIP_RIGHT] [-t TITLE] [-n NOTES] [-o OUTPUT]
43
+ left right
44
+
45
+ positional arguments:
46
+ left The first file to compare.
47
+ right The second file to compare.
48
+
49
+ options:
50
+ -h, --help show this help message and exit
51
+ -l, --left-strip STRIP_LEFT
52
+ Regex expression acting on the left hand side of the
53
+ diff
54
+ -r, --right-strip STRIP_RIGHT
55
+ Regex expression acting on the right hand side of the
56
+ diff
57
+ -t, --title TITLE Add a title to the page, other than the names of the
58
+ files being compared. If set the names of the files
59
+ being compared will be added as a subtitle.
60
+ -n, --notes NOTES Additional notes to be added below the title and
61
+ subtitle.
62
+ -o, --output OUTPUT Output file path. If unset output will be printed to
63
+ stdout.
64
+ ```
@@ -0,0 +1,49 @@
1
+ # Diff2HTML
2
+
3
+ Python's difflib is a great standard library feature.
4
+
5
+ But I wanted a command line version.
6
+
7
+ ## Installation
8
+
9
+ ```
10
+ pip install diff2html
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```
16
+ diff2html fileA fileB --output diff.html
17
+ firefox diff.html
18
+ ```
19
+
20
+ ## Full help
21
+
22
+ ```
23
+ usage: Compare two files and produce a well formatted diff in an HTML file.
24
+
25
+ A command line wrapper for Python's difftool.
26
+
27
+ [-h] [-l STRIP_LEFT] [-r STRIP_RIGHT] [-t TITLE] [-n NOTES] [-o OUTPUT]
28
+ left right
29
+
30
+ positional arguments:
31
+ left The first file to compare.
32
+ right The second file to compare.
33
+
34
+ options:
35
+ -h, --help show this help message and exit
36
+ -l, --left-strip STRIP_LEFT
37
+ Regex expression acting on the left hand side of the
38
+ diff
39
+ -r, --right-strip STRIP_RIGHT
40
+ Regex expression acting on the right hand side of the
41
+ diff
42
+ -t, --title TITLE Add a title to the page, other than the names of the
43
+ files being compared. If set the names of the files
44
+ being compared will be added as a subtitle.
45
+ -n, --notes NOTES Additional notes to be added below the title and
46
+ subtitle.
47
+ -o, --output OUTPUT Output file path. If unset output will be printed to
48
+ stdout.
49
+ ```
@@ -0,0 +1 @@
1
+ __version__="1.0.1"
@@ -0,0 +1,64 @@
1
+ Metadata-Version: 2.4
2
+ Name: diff2html
3
+ Version: 1.0.1
4
+ Summary: CLI wrapper for Pythons Difflib builtin
5
+ Author-email: "tim.pillinger" <tim.pillinger@metoffice.gov.uk>
6
+ License-Expression: MIT
7
+ Keywords: diff,html,difftool,difflib,cli
8
+ Classifier: Programming Language :: Python
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE.md
11
+ Provides-Extra: test
12
+ Requires-Dist: pytest; extra == "test"
13
+ Requires-Dist: flake8; extra == "test"
14
+ Dynamic: license-file
15
+
16
+ # Diff2HTML
17
+
18
+ Python's difflib is a great standard library feature.
19
+
20
+ But I wanted a command line version.
21
+
22
+ ## Installation
23
+
24
+ ```
25
+ pip install diff2html
26
+ ```
27
+
28
+ ## Usage
29
+
30
+ ```
31
+ diff2html fileA fileB --output diff.html
32
+ firefox diff.html
33
+ ```
34
+
35
+ ## Full help
36
+
37
+ ```
38
+ usage: Compare two files and produce a well formatted diff in an HTML file.
39
+
40
+ A command line wrapper for Python's difftool.
41
+
42
+ [-h] [-l STRIP_LEFT] [-r STRIP_RIGHT] [-t TITLE] [-n NOTES] [-o OUTPUT]
43
+ left right
44
+
45
+ positional arguments:
46
+ left The first file to compare.
47
+ right The second file to compare.
48
+
49
+ options:
50
+ -h, --help show this help message and exit
51
+ -l, --left-strip STRIP_LEFT
52
+ Regex expression acting on the left hand side of the
53
+ diff
54
+ -r, --right-strip STRIP_RIGHT
55
+ Regex expression acting on the right hand side of the
56
+ diff
57
+ -t, --title TITLE Add a title to the page, other than the names of the
58
+ files being compared. If set the names of the files
59
+ being compared will be added as a subtitle.
60
+ -n, --notes NOTES Additional notes to be added below the title and
61
+ subtitle.
62
+ -o, --output OUTPUT Output file path. If unset output will be printed to
63
+ stdout.
64
+ ```
@@ -1,6 +1,7 @@
1
1
  LICENSE.md
2
2
  README.md
3
3
  pyproject.toml
4
+ diff2html/__init__.py
4
5
  diff2html/diff2html.py
5
6
  diff2html.egg-info/PKG-INFO
6
7
  diff2html.egg-info/SOURCES.txt
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = 'diff2html'
7
- version = '1.0'
7
+ version = '1.0.1'
8
8
  authors = [
9
9
  {'name' = 'tim.pillinger', 'email' = 'tim.pillinger@metoffice.gov.uk'}
10
10
  ]
diff2html-1.0/PKG-INFO DELETED
@@ -1,39 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: diff2html
3
- Version: 1.0
4
- Summary: CLI wrapper for Pythons Difflib builtin
5
- Author-email: "tim.pillinger" <tim.pillinger@metoffice.gov.uk>
6
- License-Expression: MIT
7
- Keywords: diff,html,difftool,difflib,cli
8
- Classifier: Programming Language :: Python
9
- Description-Content-Type: text/markdown
10
- License-File: LICENSE.md
11
- Provides-Extra: test
12
- Requires-Dist: pytest; extra == "test"
13
- Requires-Dist: flake8; extra == "test"
14
- Dynamic: license-file
15
-
16
- # Diff2HTML
17
-
18
- Python's difflib is a great standard library feature.
19
-
20
- But I wanted a command line version.
21
-
22
- ## Installation
23
-
24
- ```
25
- pip install diff2html
26
- ```
27
-
28
- ## Usage
29
-
30
- ```
31
- diff2html fileA fileB --output diff.html
32
- firefox diff.html
33
- ```
34
-
35
- for advanced usage see:
36
-
37
- ```
38
- diff2html --help
39
- ```
diff2html-1.0/README.md DELETED
@@ -1,24 +0,0 @@
1
- # Diff2HTML
2
-
3
- Python's difflib is a great standard library feature.
4
-
5
- But I wanted a command line version.
6
-
7
- ## Installation
8
-
9
- ```
10
- pip install diff2html
11
- ```
12
-
13
- ## Usage
14
-
15
- ```
16
- diff2html fileA fileB --output diff.html
17
- firefox diff.html
18
- ```
19
-
20
- for advanced usage see:
21
-
22
- ```
23
- diff2html --help
24
- ```
@@ -1,39 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: diff2html
3
- Version: 1.0
4
- Summary: CLI wrapper for Pythons Difflib builtin
5
- Author-email: "tim.pillinger" <tim.pillinger@metoffice.gov.uk>
6
- License-Expression: MIT
7
- Keywords: diff,html,difftool,difflib,cli
8
- Classifier: Programming Language :: Python
9
- Description-Content-Type: text/markdown
10
- License-File: LICENSE.md
11
- Provides-Extra: test
12
- Requires-Dist: pytest; extra == "test"
13
- Requires-Dist: flake8; extra == "test"
14
- Dynamic: license-file
15
-
16
- # Diff2HTML
17
-
18
- Python's difflib is a great standard library feature.
19
-
20
- But I wanted a command line version.
21
-
22
- ## Installation
23
-
24
- ```
25
- pip install diff2html
26
- ```
27
-
28
- ## Usage
29
-
30
- ```
31
- diff2html fileA fileB --output diff.html
32
- firefox diff.html
33
- ```
34
-
35
- for advanced usage see:
36
-
37
- ```
38
- diff2html --help
39
- ```
File without changes
File without changes
File without changes