lynkeus 0.1.0__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.

Potentially problematic release.


This version of lynkeus might be problematic. Click here for more details.

lynkeus-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Pierre Wilke
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
lynkeus-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,227 @@
1
+ Metadata-Version: 2.4
2
+ Name: lynkeus
3
+ Version: 0.1.0
4
+ Summary: Summarize the differences between two PDF files: hashes, then text, then pixels
5
+ Keywords: pdf,diff,compare,visual diff,report
6
+ Author: Pierre Wilke
7
+ License-Expression: MIT
8
+ License-File: LICENSE
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Environment :: Console
11
+ Classifier: Intended Audience :: End Users/Desktop
12
+ Classifier: Operating System :: POSIX
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Topic :: Text Processing
15
+ Classifier: Topic :: Utilities
16
+ Requires-Python: >=3.10
17
+ Description-Content-Type: text/markdown
18
+
19
+ # lynkeus
20
+
21
+ Summarize the differences between two PDF files: are they the same, did only
22
+ the metadata change, which pages changed their text, and which changed only
23
+ visually.
24
+
25
+ ```console
26
+ $ lynkeus old.pdf new.pdf -o report/
27
+ == 1. hashes
28
+ A: old.pdf
29
+ sha1 22f31160f2070219505dbad8b13fcf56046d4708
30
+ sha256 b78e50dfc0c1caea7c838c3af3b0d96ad5f6a3d3f959e226039f55846ef36d6a
31
+ B: new.pdf
32
+ ...
33
+ normalized hash differs: content changed
34
+
35
+ == 2. text (78 vs 78 pages)
36
+ page 17: +1/−2 words (1 change, similarity 99%)
37
+ For example : + [-DIGIT S-] {+DIGITS+} = [0 − 9]
38
+ ...
39
+
40
+ == 3. visual (dpi 60, fuzz 10%, threshold 4 px)
41
+ visual-only changes (text identical): 2, 3, 13, 15, ...
42
+ text + visual changes: 7, 8, 9, ...
43
+
44
+ == summary
45
+ 78 aligned pages, 9 unchanged, 10 text changes, 5 reordered text, 54 visual-only
46
+
47
+ report: report/report.html
48
+ ```
49
+
50
+ ## The name
51
+
52
+ Lynkeus (Λυγκεύς, Lynceus in Latin) was the Argonaut with the sharpest eyes in
53
+ Greek myth. He could see through tree trunks, walls and rock, and spot things
54
+ from very far away. Pindar tells how, from the top of Mount Taygetus, he
55
+ spotted Castor hiding inside a hollow oak. His name became a byword for
56
+ sharp sight ("lynx-eyed"), and Goethe made him the tower watchman of
57
+ *Faust II*, "born to see, appointed to watch".
58
+
59
+ That's the job here: look through the surface of two PDFs (bytes, metadata,
60
+ text) and spot even the smallest visual change: a ticked box, a signature,
61
+ a page number that moved.
62
+
63
+ ## How it works
64
+
65
+ The checks run from cheapest to most expensive, and stop as soon as the
66
+ answer is known:
67
+
68
+ 1. **Hashes.** SHA-1 and SHA-256 of both files. If they differ, a
69
+ *normalized* hash is computed: the file is rewritten by qpdf in a fixed
70
+ form, and dates, IDs, producer and XMP metadata are removed. Equal
71
+ normalized hashes mean "same content, only metadata differs", and the
72
+ metadata fields that changed are listed.
73
+ 2. **Text.** The text of each page is extracted (`pdftotext`) and normalized
74
+ (Unicode NFKC, invisible characters and line-end hyphenation removed).
75
+ Pages are matched by similarity, so an inserted or deleted page is
76
+ reported as such instead of shifting every later page. Changed pages get
77
+ a word count and word-level snippets. Pages with the same words in a
78
+ different order (common with math and tables) are reported separately.
79
+ 3. **Visual.** Matched pages are rendered (`pdftoppm`) and compared pixel by
80
+ pixel (ImageMagick `compare`, with a colour tolerance). A page counts as
81
+ visually changed when at least `--min-pixels` pixels differ. Pages whose
82
+ text is identical but whose pixels differ are listed as **visual-only**:
83
+ usually a figure, a font or layout change, or something pasted on top.
84
+
85
+ ## Installation
86
+
87
+ lynkeus is a Python package with a `lynkeus` command. Once it is published on
88
+ PyPI:
89
+
90
+ ```
91
+ uv tool install lynkeus # or: pipx install lynkeus
92
+ ```
93
+
94
+ From a checkout of this repository:
95
+
96
+ ```
97
+ uv tool install . # installs the `lynkeus` command
98
+ uv run lynkeus A.pdf B.pdf # or run it in place, without installing
99
+ ```
100
+
101
+ It also needs a few programs that pip and uv can't install: see
102
+ [Dependencies](#dependencies).
103
+
104
+ ## Dependencies
105
+
106
+ ### Python
107
+
108
+ Python 3.10 or newer. lynkeus uses only the standard library: the
109
+ `dependencies` list in `pyproject.toml` is empty.
110
+
111
+ ### Programs lynkeus runs
112
+
113
+ | Program | Package (Debian/Ubuntu) | Used for | Tested with |
114
+ |---|---|---|---|
115
+ | `pdftotext`, `pdftoppm`, `pdfinfo` | `poppler-utils` | text extraction, page rendering, metadata | 25.03 |
116
+ | `qpdf` | `qpdf` | normalized hash (stage 1) | 12.2 |
117
+ | `magick` | `imagemagick` (version 7) | pixel comparison, change marks and image compression in the report | 7.1.2 |
118
+
119
+ ```
120
+ sudo apt install poppler-utils qpdf imagemagick
121
+ ```
122
+
123
+ ImageMagick 7 is needed: lynkeus calls the `magick` command, which
124
+ ImageMagick 6 doesn't provide. With `--no-visual` and without `-o`,
125
+ ImageMagick isn't used at all.
126
+
127
+ ### Additionally, for the examples and tests
128
+
129
+ | Program | Package (Debian/Ubuntu) | Used for |
130
+ |---|---|---|
131
+ | `make`, `bash`, `awk`, `sed`, `grep` | `make`, base system | the test suite |
132
+ | `uv` | [docs.astral.sh/uv](https://docs.astral.sh/uv/) | runs lynkeus from the checkout |
133
+ | `pdflatex` with beamer | `texlive-latex-base`, `texlive-latex-recommended`, `cm-super` | LaTeX examples |
134
+ | `typst` 0.13 or newer (tested with 0.15.1) | [typst.app](https://github.com/typst/typst) (e.g. `cargo install typst-cli`) | Typst examples and the stamp overlays |
135
+ | typst_toolkit, with its IBM Plex fonts | see below | Typst examples |
136
+
137
+ ```
138
+ sudo apt install make texlive-latex-base texlive-latex-recommended cm-super
139
+ ```
140
+
141
+ The Typst examples import `@local/typst_toolkit:0.1.1`, which must be
142
+ installed as a local Typst package (for example with `utpm prj link` in a
143
+ checkout of the toolkit), and its fonts (IBM Plex Sans, Mono and Math,
144
+ Lucide) must be installed. See the toolkit's README.
145
+
146
+ ## Usage
147
+
148
+ ```
149
+ lynkeus A.pdf B.pdf [options]
150
+ ```
151
+
152
+ `python -m lynkeus` works too.
153
+
154
+ | Option | Default | Meaning |
155
+ |---|---|---|
156
+ | `-o DIR`, `--out DIR` | | write an HTML report (`DIR/report.html`) with page images |
157
+ | `--dpi N` | 60 | render resolution for the visual comparison |
158
+ | `--fuzz P` | 10 | per-pixel colour tolerance, in % |
159
+ | `--min-pixels N` | 4 | a page counts as visually changed from N differing pixels |
160
+ | `--zoom-dpi N` | 120 | resolution of the zoomable images in the report |
161
+ | `--colors N` | 64 | palette size of the report images (`0` keeps full colour) |
162
+ | `--no-visual` | | skip stage 3 (faster, text only) |
163
+ | `-v`, `--verbose` | | show every word-level change, not only the first two per page |
164
+
165
+ **Exit status**, as with `diff`: `0` when the content is the same (identical
166
+ bytes, or only the metadata differs), `1` when it differs, `2` on error.
167
+
168
+ ### The HTML report
169
+
170
+ With `-o`, lynkeus writes `report.html` and its images to the given folder:
171
+
172
+ - a header that stays visible while scrolling, with both file names and
173
+ their SHA-1;
174
+ - filters by kind of change: text, reordered, visual-only, added, removed,
175
+ and unchanged (off by default);
176
+ - for each page, the old page, a diff image and the new page side by side,
177
+ with the changed words highlighted;
178
+ - click any image to open a full-screen viewer: both versions side by side,
179
+ zoom (mouse wheel, `+`/`−`, double-click) and pan (drag) kept in sync,
180
+ red marks over the changed areas (`m`), an optional diff pane (`d`), and
181
+ `←`/`→` to move between pages.
182
+
183
+ When the comparison stops at stage 1, the report shows the verdict and, for
184
+ metadata-only changes, a table of the fields that differ.
185
+
186
+ ## Examples and tests
187
+
188
+ `examples/` contains test documents that each change one thing at a time:
189
+
190
+ - `latex-article/`, `latex-beamer/`: LaTeX article and beamer slides
191
+ - `typst-document/`, `typst-slides/`: Typst document and slides built with
192
+ [typst_toolkit](https://gitlab-research.centralesupelec.fr/thomas.rokicki/typst_toolkit)
193
+ (imported as `@local/typst_toolkit`)
194
+ - `stamp/`: a signature, and a filled-in form, pasted onto an existing PDF
195
+ with a transparent Typst overlay and `qpdf --overlay`
196
+
197
+ Each document is a single source with variants chosen at build time: `base`,
198
+ `meta` (same content, different timestamp), `text`, `addpage`, `rmpage`,
199
+ `addimg` and `chgimg`.
200
+
201
+ ```
202
+ make # build every example PDF into build/
203
+ make -j8 test # build, then run the checks in examples/tests.tsv
204
+ make retest # run every check again
205
+ make clean # remove build/
206
+ ```
207
+
208
+ Each line of `examples/tests.tsv` names two PDFs, the expected exit code, and
209
+ strings lynkeus's output must (or, with a `!` prefix, must not) contain.
210
+ `make test` writes an HTML report for every check and an index at
211
+ `build/reports/index.html`, with each check's status and verdict.
212
+
213
+ The checks run lynkeus from the checkout with `uv run lynkeus`. To test
214
+ another command instead, for example an installed one, set `LYNKEUS`:
215
+ `make test LYNKEUS=lynkeus`.
216
+
217
+ ## Known limitations
218
+
219
+ - **Page numbers.** After a page is added or removed, every page whose number
220
+ or page total changed shows a small text change (`+1/−1 words`).
221
+ - **Very small glyphs.** At the default 60 dpi, a change in a tiny footer
222
+ (for example a page total going from "1/6" to "1/7") can touch fewer
223
+ pixels than the threshold. The text stage still reports it.
224
+ - **Text extraction.** If the PDF producer changes how it encodes text,
225
+ the text stage can report changes that aren't visible, for example an
226
+ emoji drawn as an image instead of a glyph, or math extracted in a
227
+ different order. Check the visual stage for those pages.
@@ -0,0 +1,209 @@
1
+ # lynkeus
2
+
3
+ Summarize the differences between two PDF files: are they the same, did only
4
+ the metadata change, which pages changed their text, and which changed only
5
+ visually.
6
+
7
+ ```console
8
+ $ lynkeus old.pdf new.pdf -o report/
9
+ == 1. hashes
10
+ A: old.pdf
11
+ sha1 22f31160f2070219505dbad8b13fcf56046d4708
12
+ sha256 b78e50dfc0c1caea7c838c3af3b0d96ad5f6a3d3f959e226039f55846ef36d6a
13
+ B: new.pdf
14
+ ...
15
+ normalized hash differs: content changed
16
+
17
+ == 2. text (78 vs 78 pages)
18
+ page 17: +1/−2 words (1 change, similarity 99%)
19
+ For example : + [-DIGIT S-] {+DIGITS+} = [0 − 9]
20
+ ...
21
+
22
+ == 3. visual (dpi 60, fuzz 10%, threshold 4 px)
23
+ visual-only changes (text identical): 2, 3, 13, 15, ...
24
+ text + visual changes: 7, 8, 9, ...
25
+
26
+ == summary
27
+ 78 aligned pages, 9 unchanged, 10 text changes, 5 reordered text, 54 visual-only
28
+
29
+ report: report/report.html
30
+ ```
31
+
32
+ ## The name
33
+
34
+ Lynkeus (Λυγκεύς, Lynceus in Latin) was the Argonaut with the sharpest eyes in
35
+ Greek myth. He could see through tree trunks, walls and rock, and spot things
36
+ from very far away. Pindar tells how, from the top of Mount Taygetus, he
37
+ spotted Castor hiding inside a hollow oak. His name became a byword for
38
+ sharp sight ("lynx-eyed"), and Goethe made him the tower watchman of
39
+ *Faust II*, "born to see, appointed to watch".
40
+
41
+ That's the job here: look through the surface of two PDFs (bytes, metadata,
42
+ text) and spot even the smallest visual change: a ticked box, a signature,
43
+ a page number that moved.
44
+
45
+ ## How it works
46
+
47
+ The checks run from cheapest to most expensive, and stop as soon as the
48
+ answer is known:
49
+
50
+ 1. **Hashes.** SHA-1 and SHA-256 of both files. If they differ, a
51
+ *normalized* hash is computed: the file is rewritten by qpdf in a fixed
52
+ form, and dates, IDs, producer and XMP metadata are removed. Equal
53
+ normalized hashes mean "same content, only metadata differs", and the
54
+ metadata fields that changed are listed.
55
+ 2. **Text.** The text of each page is extracted (`pdftotext`) and normalized
56
+ (Unicode NFKC, invisible characters and line-end hyphenation removed).
57
+ Pages are matched by similarity, so an inserted or deleted page is
58
+ reported as such instead of shifting every later page. Changed pages get
59
+ a word count and word-level snippets. Pages with the same words in a
60
+ different order (common with math and tables) are reported separately.
61
+ 3. **Visual.** Matched pages are rendered (`pdftoppm`) and compared pixel by
62
+ pixel (ImageMagick `compare`, with a colour tolerance). A page counts as
63
+ visually changed when at least `--min-pixels` pixels differ. Pages whose
64
+ text is identical but whose pixels differ are listed as **visual-only**:
65
+ usually a figure, a font or layout change, or something pasted on top.
66
+
67
+ ## Installation
68
+
69
+ lynkeus is a Python package with a `lynkeus` command. Once it is published on
70
+ PyPI:
71
+
72
+ ```
73
+ uv tool install lynkeus # or: pipx install lynkeus
74
+ ```
75
+
76
+ From a checkout of this repository:
77
+
78
+ ```
79
+ uv tool install . # installs the `lynkeus` command
80
+ uv run lynkeus A.pdf B.pdf # or run it in place, without installing
81
+ ```
82
+
83
+ It also needs a few programs that pip and uv can't install: see
84
+ [Dependencies](#dependencies).
85
+
86
+ ## Dependencies
87
+
88
+ ### Python
89
+
90
+ Python 3.10 or newer. lynkeus uses only the standard library: the
91
+ `dependencies` list in `pyproject.toml` is empty.
92
+
93
+ ### Programs lynkeus runs
94
+
95
+ | Program | Package (Debian/Ubuntu) | Used for | Tested with |
96
+ |---|---|---|---|
97
+ | `pdftotext`, `pdftoppm`, `pdfinfo` | `poppler-utils` | text extraction, page rendering, metadata | 25.03 |
98
+ | `qpdf` | `qpdf` | normalized hash (stage 1) | 12.2 |
99
+ | `magick` | `imagemagick` (version 7) | pixel comparison, change marks and image compression in the report | 7.1.2 |
100
+
101
+ ```
102
+ sudo apt install poppler-utils qpdf imagemagick
103
+ ```
104
+
105
+ ImageMagick 7 is needed: lynkeus calls the `magick` command, which
106
+ ImageMagick 6 doesn't provide. With `--no-visual` and without `-o`,
107
+ ImageMagick isn't used at all.
108
+
109
+ ### Additionally, for the examples and tests
110
+
111
+ | Program | Package (Debian/Ubuntu) | Used for |
112
+ |---|---|---|
113
+ | `make`, `bash`, `awk`, `sed`, `grep` | `make`, base system | the test suite |
114
+ | `uv` | [docs.astral.sh/uv](https://docs.astral.sh/uv/) | runs lynkeus from the checkout |
115
+ | `pdflatex` with beamer | `texlive-latex-base`, `texlive-latex-recommended`, `cm-super` | LaTeX examples |
116
+ | `typst` 0.13 or newer (tested with 0.15.1) | [typst.app](https://github.com/typst/typst) (e.g. `cargo install typst-cli`) | Typst examples and the stamp overlays |
117
+ | typst_toolkit, with its IBM Plex fonts | see below | Typst examples |
118
+
119
+ ```
120
+ sudo apt install make texlive-latex-base texlive-latex-recommended cm-super
121
+ ```
122
+
123
+ The Typst examples import `@local/typst_toolkit:0.1.1`, which must be
124
+ installed as a local Typst package (for example with `utpm prj link` in a
125
+ checkout of the toolkit), and its fonts (IBM Plex Sans, Mono and Math,
126
+ Lucide) must be installed. See the toolkit's README.
127
+
128
+ ## Usage
129
+
130
+ ```
131
+ lynkeus A.pdf B.pdf [options]
132
+ ```
133
+
134
+ `python -m lynkeus` works too.
135
+
136
+ | Option | Default | Meaning |
137
+ |---|---|---|
138
+ | `-o DIR`, `--out DIR` | | write an HTML report (`DIR/report.html`) with page images |
139
+ | `--dpi N` | 60 | render resolution for the visual comparison |
140
+ | `--fuzz P` | 10 | per-pixel colour tolerance, in % |
141
+ | `--min-pixels N` | 4 | a page counts as visually changed from N differing pixels |
142
+ | `--zoom-dpi N` | 120 | resolution of the zoomable images in the report |
143
+ | `--colors N` | 64 | palette size of the report images (`0` keeps full colour) |
144
+ | `--no-visual` | | skip stage 3 (faster, text only) |
145
+ | `-v`, `--verbose` | | show every word-level change, not only the first two per page |
146
+
147
+ **Exit status**, as with `diff`: `0` when the content is the same (identical
148
+ bytes, or only the metadata differs), `1` when it differs, `2` on error.
149
+
150
+ ### The HTML report
151
+
152
+ With `-o`, lynkeus writes `report.html` and its images to the given folder:
153
+
154
+ - a header that stays visible while scrolling, with both file names and
155
+ their SHA-1;
156
+ - filters by kind of change: text, reordered, visual-only, added, removed,
157
+ and unchanged (off by default);
158
+ - for each page, the old page, a diff image and the new page side by side,
159
+ with the changed words highlighted;
160
+ - click any image to open a full-screen viewer: both versions side by side,
161
+ zoom (mouse wheel, `+`/`−`, double-click) and pan (drag) kept in sync,
162
+ red marks over the changed areas (`m`), an optional diff pane (`d`), and
163
+ `←`/`→` to move between pages.
164
+
165
+ When the comparison stops at stage 1, the report shows the verdict and, for
166
+ metadata-only changes, a table of the fields that differ.
167
+
168
+ ## Examples and tests
169
+
170
+ `examples/` contains test documents that each change one thing at a time:
171
+
172
+ - `latex-article/`, `latex-beamer/`: LaTeX article and beamer slides
173
+ - `typst-document/`, `typst-slides/`: Typst document and slides built with
174
+ [typst_toolkit](https://gitlab-research.centralesupelec.fr/thomas.rokicki/typst_toolkit)
175
+ (imported as `@local/typst_toolkit`)
176
+ - `stamp/`: a signature, and a filled-in form, pasted onto an existing PDF
177
+ with a transparent Typst overlay and `qpdf --overlay`
178
+
179
+ Each document is a single source with variants chosen at build time: `base`,
180
+ `meta` (same content, different timestamp), `text`, `addpage`, `rmpage`,
181
+ `addimg` and `chgimg`.
182
+
183
+ ```
184
+ make # build every example PDF into build/
185
+ make -j8 test # build, then run the checks in examples/tests.tsv
186
+ make retest # run every check again
187
+ make clean # remove build/
188
+ ```
189
+
190
+ Each line of `examples/tests.tsv` names two PDFs, the expected exit code, and
191
+ strings lynkeus's output must (or, with a `!` prefix, must not) contain.
192
+ `make test` writes an HTML report for every check and an index at
193
+ `build/reports/index.html`, with each check's status and verdict.
194
+
195
+ The checks run lynkeus from the checkout with `uv run lynkeus`. To test
196
+ another command instead, for example an installed one, set `LYNKEUS`:
197
+ `make test LYNKEUS=lynkeus`.
198
+
199
+ ## Known limitations
200
+
201
+ - **Page numbers.** After a page is added or removed, every page whose number
202
+ or page total changed shows a small text change (`+1/−1 words`).
203
+ - **Very small glyphs.** At the default 60 dpi, a change in a tiny footer
204
+ (for example a page total going from "1/6" to "1/7") can touch fewer
205
+ pixels than the threshold. The text stage still reports it.
206
+ - **Text extraction.** If the PDF producer changes how it encodes text,
207
+ the text stage can report changes that aren't visible, for example an
208
+ emoji drawn as an image instead of a glyph, or math extracted in a
209
+ different order. Check the visual stage for those pages.
@@ -0,0 +1,35 @@
1
+ [build-system]
2
+ requires = ["uv_build>=0.13.12,<0.14"]
3
+ build-backend = "uv_build"
4
+
5
+ [project]
6
+ name = "lynkeus"
7
+ version = "0.1.0"
8
+ description = "Summarize the differences between two PDF files: hashes, then text, then pixels"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = "MIT"
12
+ license-files = ["LICENSE"]
13
+ keywords = [
14
+ "pdf",
15
+ "diff",
16
+ "compare",
17
+ "visual diff",
18
+ "report",
19
+ ]
20
+ classifiers = [
21
+ "Development Status :: 3 - Alpha",
22
+ "Environment :: Console",
23
+ "Intended Audience :: End Users/Desktop",
24
+ "Operating System :: POSIX",
25
+ "Programming Language :: Python :: 3",
26
+ "Topic :: Text Processing",
27
+ "Topic :: Utilities",
28
+ ]
29
+ dependencies = []
30
+
31
+ [[project.authors]]
32
+ name = "Pierre Wilke"
33
+
34
+ [project.scripts]
35
+ lynkeus = "lynkeus:main"
@@ -0,0 +1,29 @@
1
+ [build-system]
2
+ requires = ["uv_build>=0.13.12,<0.14"]
3
+ build-backend = "uv_build"
4
+
5
+ [project]
6
+ name = "lynkeus"
7
+ version = "0.1.0"
8
+ description = "Summarize the differences between two PDF files: hashes, then text, then pixels"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = "MIT"
12
+ license-files = ["LICENSE"]
13
+ authors = [{ name = "Pierre Wilke" }]
14
+ keywords = ["pdf", "diff", "compare", "visual diff", "report"]
15
+ classifiers = [
16
+ "Development Status :: 3 - Alpha",
17
+ "Environment :: Console",
18
+ "Intended Audience :: End Users/Desktop",
19
+ "Operating System :: POSIX",
20
+ "Programming Language :: Python :: 3",
21
+ "Topic :: Text Processing",
22
+ "Topic :: Utilities",
23
+ ]
24
+ # No Python dependencies. The external programs it runs (poppler-utils,
25
+ # qpdf, ImageMagick 7) can't be installed by pip: see README.md.
26
+ dependencies = []
27
+
28
+ [project.scripts]
29
+ lynkeus = "lynkeus:main"