fieldproof 0.2.2__tar.gz → 0.2.3__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.
Files changed (35) hide show
  1. {fieldproof-0.2.2 → fieldproof-0.2.3}/CHANGELOG.md +17 -0
  2. {fieldproof-0.2.2 → fieldproof-0.2.3}/PKG-INFO +10 -7
  3. {fieldproof-0.2.2 → fieldproof-0.2.3}/pyproject.toml +14 -7
  4. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/__init__.py +1 -1
  5. {fieldproof-0.2.2 → fieldproof-0.2.3}/.gitignore +0 -0
  6. {fieldproof-0.2.2 → fieldproof-0.2.3}/LICENSE +0 -0
  7. {fieldproof-0.2.2 → fieldproof-0.2.3}/README.md +0 -0
  8. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/cli.py +0 -0
  9. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/document/__init__.py +0 -0
  10. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/document/loader.py +0 -0
  11. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/document/model.py +0 -0
  12. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/document/ocr.py +0 -0
  13. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/document/render.py +0 -0
  14. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/extract/__init__.py +0 -0
  15. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/extract/anthropic_provider.py +0 -0
  16. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/extract/base.py +0 -0
  17. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/extract/fixture_provider.py +0 -0
  18. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/ground/__init__.py +0 -0
  19. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/ground/align.py +0 -0
  20. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/ground/normalize.py +0 -0
  21. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/schemas/__init__.py +0 -0
  22. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/schemas/base.py +0 -0
  23. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/schemas/contract.py +0 -0
  24. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/schemas/invoice.py +0 -0
  25. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/schemas/receipt.py +0 -0
  26. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/server/__init__.py +0 -0
  27. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/server/app.py +0 -0
  28. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/server/static/assets/index-BLATbujI.js +0 -0
  29. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/server/static/assets/index-Bo892MpF.css +0 -0
  30. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/server/static/index.html +0 -0
  31. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/server/store.py +0 -0
  32. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/verify/__init__.py +0 -0
  33. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/verify/cross_field.py +0 -0
  34. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/verify/engine.py +0 -0
  35. {fieldproof-0.2.2 → fieldproof-0.2.3}/src/fieldproof/verify/value_checks.py +0 -0
@@ -2,6 +2,23 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [0.2.3] - 2026-10-02
6
+
7
+ ### Security
8
+
9
+ - The oldest dependency versions the package accepted had published
10
+ advisories in exactly the code that reads what a stranger uploads:
11
+ `python-multipart` 0.0.9, `starlette` 0.38.6 (through `fastapi` 0.115),
12
+ `pdfminer.six` 20231228 (through `pdfplumber` 0.11.0) and `Pillow` 10.4
13
+ (the `ocr` extra), plus `click` 8.1.8. An ordinary install already got
14
+ current versions; an install held back by another package's constraints
15
+ could get those. The minimums are now the first releases without an
16
+ advisory: `python-multipart>=0.0.31`, `starlette>=1.3.1`,
17
+ `pdfminer.six>=20251230`, `click>=8.3.3`, `Pillow>=12.3`, and with them
18
+ `fastapi>=0.133`, `pdfplumber>=0.11.9`, `typer>=0.16`. `pip-audit` reports
19
+ nothing for the locked versions or for the minimum ones, and the tests pass
20
+ on both.
21
+
5
22
  ## [0.2.2] - 2026-10-02
6
23
 
7
24
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: fieldproof
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Document extraction that shows its work: every field linked to the exact words it came from.
5
5
  Project-URL: Homepage, https://antonsoo.github.io/fieldproof/
6
6
  Project-URL: Repository, https://github.com/antonsoo/fieldproof
@@ -18,23 +18,26 @@ Classifier: Programming Language :: Python :: 3.12
18
18
  Classifier: Topic :: Text Processing :: Linguistic
19
19
  Requires-Python: >=3.11
20
20
  Requires-Dist: anthropic>=0.77
21
- Requires-Dist: fastapi>=0.115
22
- Requires-Dist: pdfplumber>=0.11
21
+ Requires-Dist: click>=8.3.3
22
+ Requires-Dist: fastapi>=0.133
23
+ Requires-Dist: pdfminer-six>=20251230
24
+ Requires-Dist: pdfplumber>=0.11.9
23
25
  Requires-Dist: pydantic>=2.10
24
26
  Requires-Dist: pypdfium2>=4.30
25
- Requires-Dist: python-multipart>=0.0.9
27
+ Requires-Dist: python-multipart>=0.0.31
26
28
  Requires-Dist: rapidfuzz>=3.9
27
- Requires-Dist: typer>=0.15.4
29
+ Requires-Dist: starlette>=1.3.1
30
+ Requires-Dist: typer>=0.16
28
31
  Requires-Dist: uvicorn[standard]>=0.30
29
32
  Provides-Extra: dev
30
33
  Requires-Dist: httpx>=0.27; extra == 'dev'
31
34
  Requires-Dist: mypy>=1.11; extra == 'dev'
32
35
  Requires-Dist: pytest-cov>=5.0; extra == 'dev'
33
- Requires-Dist: pytest>=8.3; extra == 'dev'
36
+ Requires-Dist: pytest>=9.0.3; extra == 'dev'
34
37
  Requires-Dist: reportlab>=4.2; extra == 'dev'
35
38
  Requires-Dist: ruff>=0.6; extra == 'dev'
36
39
  Provides-Extra: ocr
37
- Requires-Dist: pillow>=10.4; extra == 'ocr'
40
+ Requires-Dist: pillow>=12.3; extra == 'ocr'
38
41
  Requires-Dist: pytesseract>=0.3.10; extra == 'ocr'
39
42
  Description-Content-Type: text/markdown
40
43
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "fieldproof"
3
- version = "0.2.2"
3
+ version = "0.2.3"
4
4
  description = "Document extraction that shows its work: every field linked to the exact words it came from."
5
5
  dynamic = ["readme"]
6
6
  requires-python = ">=3.11"
@@ -27,20 +27,27 @@ classifiers = [
27
27
  ]
28
28
  dependencies = [
29
29
  "pydantic>=2.10",
30
- "pdfplumber>=0.11",
30
+ "pdfplumber>=0.11.9",
31
31
  "pypdfium2>=4.30",
32
32
  "rapidfuzz>=3.9",
33
- "fastapi>=0.115",
33
+ "fastapi>=0.133",
34
34
  "uvicorn[standard]>=0.30",
35
- "python-multipart>=0.0.9",
36
- "typer>=0.15.4",
35
+ "python-multipart>=0.0.31",
36
+ "typer>=0.16",
37
37
  "anthropic>=0.77",
38
+ # Not imported here: they parse what a stranger uploads (PDFs, multipart forms, HTTP) or
39
+ # the command line, and older releases have published advisories. These are the first
40
+ # without one (2026-10-02); the floors of pdfplumber, fastapi and typer above are the
41
+ # oldest that install beside them.
42
+ "pdfminer.six>=20251230",
43
+ "starlette>=1.3.1",
44
+ "click>=8.3.3",
38
45
  ]
39
46
 
40
47
  [project.optional-dependencies]
41
- ocr = ["pytesseract>=0.3.10", "Pillow>=10.4"]
48
+ ocr = ["pytesseract>=0.3.10", "Pillow>=12.3"]
42
49
  dev = [
43
- "pytest>=8.3",
50
+ "pytest>=9.0.3",
44
51
  "pytest-cov>=5.0",
45
52
  "httpx>=0.27",
46
53
  "ruff>=0.6",
@@ -5,4 +5,4 @@ reviewer (or a downstream system) can tell a verified value from a
5
5
  hallucinated one before it reaches a database.
6
6
  """
7
7
 
8
- __version__ = "0.2.2"
8
+ __version__ = "0.2.3"
File without changes
File without changes
File without changes