fieldproof 0.2.3__py3-none-any.whl

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,398 @@
1
+ Metadata-Version: 2.5
2
+ Name: fieldproof
3
+ Version: 0.2.3
4
+ Summary: Document extraction that shows its work: every field linked to the exact words it came from.
5
+ Project-URL: Homepage, https://antonsoo.github.io/fieldproof/
6
+ Project-URL: Repository, https://github.com/antonsoo/fieldproof
7
+ Project-URL: Issues, https://github.com/antonsoo/fieldproof/issues
8
+ Author-email: Anton Soloviev <anton@praviel.com>
9
+ License: MIT
10
+ License-File: LICENSE
11
+ Keywords: document-ai,extraction,grounding,invoice-processing,llm,ocr,pdf,structured-output
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Topic :: Text Processing :: Linguistic
19
+ Requires-Python: >=3.11
20
+ Requires-Dist: anthropic>=0.77
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
25
+ Requires-Dist: pydantic>=2.10
26
+ Requires-Dist: pypdfium2>=4.30
27
+ Requires-Dist: python-multipart>=0.0.31
28
+ Requires-Dist: rapidfuzz>=3.9
29
+ Requires-Dist: starlette>=1.3.1
30
+ Requires-Dist: typer>=0.16
31
+ Requires-Dist: uvicorn[standard]>=0.30
32
+ Provides-Extra: dev
33
+ Requires-Dist: httpx>=0.27; extra == 'dev'
34
+ Requires-Dist: mypy>=1.11; extra == 'dev'
35
+ Requires-Dist: pytest-cov>=5.0; extra == 'dev'
36
+ Requires-Dist: pytest>=9.0.3; extra == 'dev'
37
+ Requires-Dist: reportlab>=4.2; extra == 'dev'
38
+ Requires-Dist: ruff>=0.6; extra == 'dev'
39
+ Provides-Extra: ocr
40
+ Requires-Dist: pillow>=12.3; extra == 'ocr'
41
+ Requires-Dist: pytesseract>=0.3.10; extra == 'ocr'
42
+ Description-Content-Type: text/markdown
43
+
44
+ # fieldproof
45
+
46
+ **Document extraction that shows its work: every field linked to the exact words it came from.**
47
+
48
+ [![PyPI](https://img.shields.io/pypi/v/fieldproof)](https://pypi.org/project/fieldproof/)
49
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/antonsoo/fieldproof/blob/main/LICENSE)
50
+ [![Live demo](https://img.shields.io/badge/demo-antonsoo.github.io%2Ffieldproof-14524c)](https://antonsoo.github.io/fieldproof/)
51
+
52
+ LLMs are good at pulling structured data out of invoices, contracts, and forms.
53
+ In production the question is never "can it extract a total" - it's "can I trust
54
+ *this* total, on *this* document, without a human re-reading the whole page."
55
+ Most extraction pipelines give you a JSON blob and a confidence number pulled
56
+ out of nowhere. fieldproof instead makes the model cite a verbatim quote for
57
+ every field, locates that quote on the page with word-level bounding boxes,
58
+ checks that the quote actually supports the value it's attached to, runs
59
+ cross-field arithmetic and date-ordering checks, and gives a human a review UI
60
+ to confirm or fix whatever's left. Every field ends up `verified`,
61
+ `needs_review`, or `unsupported` - never a bare number with no way to check it.
62
+
63
+ ![The review UI catching a hallucinated PO number and a total that doesn't match its line items](https://raw.githubusercontent.com/antonsoo/fieldproof/main/docs/assets/hero-review.png)
64
+
65
+ <details>
66
+ <summary>Dark mode</summary>
67
+
68
+ ![The same review, in dark mode](https://raw.githubusercontent.com/antonsoo/fieldproof/main/docs/assets/review-dark.png)
69
+
70
+ </details>
71
+
72
+ ## Live demo
73
+
74
+ **[antonsoo.github.io/fieldproof](https://antonsoo.github.io/fieldproof/)** - three
75
+ synthetic sample documents (invoice, receipt, contract), grounded and
76
+ verified ahead of time by the real Python pipeline. It opens on the invoice
77
+ with its first flagged field selected; switch documents from the top bar, or
78
+ link straight to one (`#receipt`, `#contract`). The candidate extractions
79
+ are hand-written fixtures in the shape an LLM returns, with deliberately
80
+ planted errors - a hallucinated PO number, a total
81
+ that doesn't match its line items, and a misread date - so you can see exactly
82
+ what the verifier catches. No backend: the demo runs entirely on precomputed
83
+ JSON and static page images.
84
+
85
+ ## Quickstart
86
+
87
+ ```bash
88
+ pip install fieldproof
89
+ ```
90
+
91
+ The sample documents used below live in the repo (`examples/`), so clone it
92
+ to try them:
93
+
94
+ ```bash
95
+ git clone --depth 1 https://github.com/antonsoo/fieldproof && cd fieldproof
96
+ fieldproof extract examples/invoice.pdf --schema invoice --provider fixture \
97
+ --fixture examples/fixtures/invoice.json --out result.json
98
+ ```
99
+
100
+ `--provider fixture` replays a stored JSON extraction (no API key needed,
101
+ useful for CI/offline). To extract with Claude instead, set
102
+ `ANTHROPIC_API_KEY` and pass `--provider anthropic` (`--model` picks the
103
+ model; `--max-tokens` raises the output limit for a document whose
104
+ extraction is cut off at the default 16,000). To review the result in
105
+ the browser instead: `fieldproof serve`. The PyPI package includes the built
106
+ UI; from a source checkout, build it first (see [Development](#development)).
107
+
108
+ ## Features
109
+
110
+ - **Grounded extraction** - every field is `{value, evidence, page}`, not a
111
+ bare value. Built-in Pydantic templates for invoices, receipts, and
112
+ contract key terms; bring your own schema and it works the same way.
113
+ - **Provider-agnostic** - an `Extractor` protocol with an Anthropic
114
+ (Claude) implementation using structured outputs, and a fixture provider
115
+ for tests, CI, and offline demos.
116
+ - **Real grounding, not string search** - exact match first, rapidfuzz-based
117
+ fuzzy alignment as a fallback, tolerant of curly quotes, ligatures,
118
+ hyphenated line-wraps, and OCR noise. Exact matches are required to land
119
+ on whole word boundaries (a quote never matches mid-token), and a quote
120
+ that occurs more than once is disambiguated by locality rather than
121
+ silently taking the first hit. Maps back to word bounding boxes and
122
+ merges them into per-line highlight rectangles.
123
+ - **Verification, not just a confidence score** - numbers, dates, currency,
124
+ and strings are independently re-derived from the matched evidence and
125
+ compared to the claimed value; line items are checked against subtotal,
126
+ subtotal + tax against total, and due date against issue date.
127
+ - **A review UI that shows the reasoning** - flagged fields sort to the top;
128
+ click a field to jump to its evidence on the page; hover a highlight to
129
+ see which field it supports; currency fields display formatted (`312.50`,
130
+ `2,458.00`) while the underlying value and export stay machine numbers;
131
+ approve, edit, or reject; export approved values as JSON or CSV.
132
+ - **Optional OCR** - scanned PDFs fall back to Tesseract if it's installed;
133
+ documented as a degraded mode, not silently pretended to be as reliable as
134
+ a native text layer.
135
+
136
+ ## Usage
137
+
138
+ ### CLI
139
+
140
+ ```bash
141
+ fieldproof extract doc.pdf --schema invoice --provider anthropic --out result.json
142
+ fieldproof verify result.json doc.pdf # re-ground/re-verify an existing extraction
143
+ fieldproof serve --port 8000 # API + review UI
144
+ ```
145
+
146
+ `--provider anthropic` defaults to `claude-opus-5-5` (Claude Opus 5.5); pass
147
+ `--model claude-sonnet-5-5` or any other model id to override it.
148
+
149
+ Real output, captured from this repo's sample documents:
150
+
151
+ ![fieldproof extract and verify, real terminal output](https://raw.githubusercontent.com/antonsoo/fieldproof/main/docs/assets/cli-extract-verify.png)
152
+
153
+ ### As a library
154
+
155
+ ```python
156
+ from fieldproof.document import load_pdf
157
+ from fieldproof.schemas import Invoice
158
+ from fieldproof.extract import FixtureExtractor
159
+ from fieldproof.verify import verify
160
+
161
+ document = load_pdf("examples/invoice.pdf")
162
+ result = FixtureExtractor(fixture_path="examples/fixtures/invoice.json").extract(document, Invoice)
163
+ report = verify(result.data, document)
164
+
165
+ for field in report.fields:
166
+ if field.status != "verified":
167
+ print(field.path, field.status, field.reasons)
168
+ # po_number unsupported ["none of the evidence quotes (...) could be located in the document"]
169
+ # subtotal needs_review ['subtotal + tax = 2666.93 but total is 2600.00']
170
+ # tax needs_review ['subtotal + tax = 2666.93 but total is 2600.00']
171
+ # total needs_review ['value 2600 does not match 2666.93 parsed from the evidence', ...]
172
+ ```
173
+
174
+ ### Bring your own schema
175
+
176
+ Any Pydantic model built from `Evidenced[T]` leaves works - `fieldproof.ground`
177
+ and `fieldproof.verify` walk it generically (`iter_evidenced_fields`), they
178
+ never reference `Invoice`/`Receipt`/`ContractKeyTerms` by name:
179
+
180
+ ```python
181
+ from pydantic import BaseModel
182
+ from fieldproof.schemas import Evidenced
183
+
184
+ class PurchaseOrder(BaseModel):
185
+ po_number: Evidenced[str]
186
+ approved: Evidenced[bool]
187
+ amount: Evidenced[float]
188
+ ```
189
+
190
+ Cross-field rules (line-item sums, date ordering) are schema-specific and
191
+ currently only implemented for the built-in Invoice/Receipt templates - see
192
+ [Limitations](#accuracy-and-limitations).
193
+
194
+ ### Bring your own extractor
195
+
196
+ `Extractor` is a structural protocol (`def extract(self, document, schema) ->
197
+ ExtractionResult`) - implement it against any provider and
198
+ `fieldproof.ground` / `fieldproof.verify` work unchanged, since they only
199
+ depend on the `Evidenced` shape, not on Anthropic.
200
+
201
+ ## How it works
202
+
203
+ ```mermaid
204
+ flowchart LR
205
+ PDF["PDF"] --> DOC["document<br/>words + bboxes + page images"]
206
+ DOC --> EXT["extract<br/>Anthropic / fixture provider"]
207
+ EXT -->|"schema instance:<br/>value + evidence quotes"| GRD["ground<br/>normalize + align quotes to words"]
208
+ DOC --> GRD
209
+ GRD --> VER["verify<br/>value-vs-evidence + cross-field rules"]
210
+ VER --> REP["verified / needs_review / unsupported"]
211
+ REP --> UI["review UI<br/>approve, edit, export"]
212
+ ```
213
+
214
+ **Trust is established in four steps**, and a field is only `verified` if all
215
+ four hold:
216
+
217
+ 1. **Quote.** The model must produce a verbatim substring for every value
218
+ (`fieldproof.extract.anthropic_provider` instructs this explicitly and
219
+ uses structured outputs so it's enforced by the schema, not just asked
220
+ nicely). No quote -> `unsupported` immediately; no need to even look at
221
+ the page.
222
+ 2. **Alignment.** `fieldproof.ground` normalizes both the quote and the
223
+ page text (NFKC, straight quotes/dashes, collapsed whitespace) and tries
224
+ an exact substring match first, falling back to
225
+ [rapidfuzz](https://github.com/rapidfuzz/RapidFuzz)'s partial-ratio
226
+ alignment (`fuzz.partial_ratio_alignment`) for the best-scoring substring
227
+ of the page. Below a 70/100 score, the quote is treated as not found; a
228
+ match under 92/100 is flagged as weak evidence even if it's found. A
229
+ match has to cover whole words - a quote like `"1"` can never match the
230
+ trailing digit of a street number like `"4821"`, though it may leave out
231
+ punctuation glued to a word (the comma in `"1,"`, the `$` in
232
+ `"$2,458.00"`). When the best fuzzy window cuts a word, the quote is
233
+ scored against the whole words instead, so `"wind"` is not found in
234
+ `"Northwind"` and `"458.00"` is only a weak match for `"$2,458.00"`.
235
+ When a quote genuinely occurs more than once,
236
+ `fieldproof.verify.engine` disambiguates it by preferring whichever
237
+ occurrence is on the same row as another field from the same object
238
+ that's already been grounded (e.g. a line item's `quantity` next to its
239
+ already-grounded `description`); with nothing nearby to disambiguate
240
+ against, the field becomes `needs_review` with an "ambiguous, appears N
241
+ times" reason rather than silently guessing. The matched span is mapped
242
+ back through an index map to the exact words it covers (via each word's
243
+ character offset into the page's flattened text), and those words'
244
+ bounding boxes are merged into per-line highlight rectangles.
245
+ 3. **Value check.** The claimed value is independently re-derived from the
246
+ *matched* evidence text - not trusted just because a quote was found
247
+ nearby - and compared: numbers are parsed with currency/thousands-
248
+ separator handling and checked against every plain number in the
249
+ evidence, not just the last one (evidence for a row-level field is often
250
+ the whole row, e.g. a quantity of `1` is checked against `"Fuel
251
+ surcharge 1 210.50 210.50"`), excluding percentages so `"Tax (8.5%)
252
+ $208.93"` can't be misread as `8.5`; dates are parsed from either
253
+ ISO-8601 or a handful of common formats and compared as calendar dates,
254
+ and a numeric date whose first two parts are both 12 or under
255
+ (`03/04/2026`) is read in whichever order another date on the same
256
+ document settles (`03/14/2026` means month first) - with no such date it
257
+ goes to review rather than being verified under a guessed convention;
258
+ strings use fuzzy partial-ratio (a short value inside a longer quote
259
+ should still match), except that every run of digits in the value must
260
+ be in the evidence as written - `NW-20260215` is 96% similar to
261
+ `NW-20260214` and a different invoice; booleans look for whole words like
262
+ yes/no/not/confirmed/denied (so "notice" isn't a "no"). Any mismatch ->
263
+ `needs_review`.
264
+ 4. **Cross-field rules.** For invoices and receipts: line items must sum to
265
+ the subtotal, subtotal + tax must equal the total (both within a $0.02
266
+ tolerance), and the due date must not precede the issue date. A failed
267
+ rule marks every field it involves as `needs_review` and records why.
268
+
269
+ ### Grounding quality, checked against ground truth
270
+
271
+ `tests/test_ground.py` and `tests/test_e2e.py` don't just assert "no
272
+ exception" - they assert exact match scores and exact reasons against
273
+ documents with known content: an exact quote must score 100, a quote with a
274
+ dropped colon and a curly apostrophe must score ≥85 but not be flagged
275
+ `is_exact`, a quote spanning a hyphenated line-wrap must still ground at
276
+ ≥80, a quote that's genuinely absent must return no match at all rather
277
+ than a low-quality one, and - the concrete regression this repo shipped
278
+ with - a bare `"1"` on `examples/invoice.pdf` must ground to one of its two
279
+ line-item quantities, never to the trailing digit of the "4821" street
280
+ address, and must resolve to the *correct* line item by row locality when
281
+ both are plausible. `tests/test_e2e.py` runs the full pipeline against the
282
+ checked-in sample documents and pins down exactly which field each planted
283
+ error is expected to surface as - a regression that stops catching the
284
+ hallucinated PO number or the misread date fails a test, not just a manual
285
+ look at the demo.
286
+
287
+ ### Performance
288
+
289
+ Measured on this machine (14 vCPU, 48 GB RAM, WSL2 Linux), 200-iteration
290
+ average, on `examples/invoice.pdf` (25 leaf fields across 4 line items):
291
+
292
+ | Stage | Time |
293
+ |---|---|
294
+ | PDF text-layer load (pdfplumber) | 22.6 ms |
295
+ | Grounding + verification, all 25 fields | 4.3 ms |
296
+
297
+ Extraction time is dominated by the provider's network round trip, not
298
+ anything in this repo.
299
+
300
+ ## Accuracy and limitations
301
+
302
+ - **OCR is a degraded mode, not equivalent to a text layer.** Scanned PDFs
303
+ are supported only if the optional `ocr` extra (`pytesseract` + a system
304
+ Tesseract install) is present; grounding still fuzzy-matches against
305
+ whatever text Tesseract produced, but OCR accuracy drops sharply on
306
+ skewed scans, low contrast, or unusual fonts, and word boxes are
307
+ per-word pixel boxes with no sub-word offsets. Treat an OCR'd document's
308
+ results as "Tesseract thinks this is what's there," not ground truth.
309
+ - **Tables aren't structurally parsed.** Line items are extracted by the
310
+ LLM reading the page text in reading order, not by detecting table
311
+ cells/columns - a table with an unusual layout (merged cells, multi-line
312
+ cells, columns that don't read top-to-bottom-then-left-to-right) can
313
+ confuse the model's reading of which number belongs to which row, even
314
+ though each individual value's grounding is still checked independently.
315
+ - **No handwriting support.** Neither the text-layer path nor the OCR
316
+ fallback is designed for handwritten text.
317
+ - **Cross-field rules are schema-specific.** They're implemented for the
318
+ built-in Invoice and Receipt templates only
319
+ (`fieldproof.verify.cross_field`); a custom schema gets grounding and
320
+ value-vs-evidence checks but no arithmetic/date-ordering rules unless you
321
+ add your own.
322
+ - **String matching is fuzzy by design**, which means a sufficiently short
323
+ or generic value can occasionally find a spurious match inside unrelated
324
+ evidence text. The 92/100 "strong match" threshold and the independent
325
+ value check are there to catch most of this, but neither is a proof.
326
+ - **Ambiguous quotes are resolved by row locality, not proven correct.**
327
+ When a short quote occurs more than once, fieldproof prefers the
328
+ occurrence nearest another already-grounded field from the same row
329
+ (see [How it works](#how-it-works)) rather than flagging every such
330
+ field `needs_review` - a reasonable heuristic, not a guarantee. Two
331
+ identical amounts in the same row (a line item where `unit_price` and
332
+ `amount` happen to be equal) can still ground to either one; the *value*
333
+ check still passes either way, but the highlighted box may point at the
334
+ wrong column of an otherwise-correct row.
335
+ - **The Anthropic adapter is tested against the real SDK, not a live
336
+ model** - there's no API key configured in this repo's CI. The tests run
337
+ the `anthropic` SDK over a mocked HTTP transport that answers in the
338
+ Messages API's wire format, so the request (the schema as structured-output
339
+ JSON Schema, the prompt, `max_tokens`) and the handling of replies (a
340
+ complete one, one cut off at `max_tokens`, a refusal, an API error, a
341
+ missing key) are the real thing. What no such test can check is whether a
342
+ model follows the evidence-quoting instructions in the system prompt; that
343
+ is what grounding and verification are for.
344
+
345
+ ## Architecture
346
+
347
+ ```
348
+ src/fieldproof/
349
+ document/ PDF loading (pdfplumber), page rendering (pypdfium2), optional OCR (pytesseract)
350
+ schemas/ Evidenced[T], the generic field walker, Invoice/Receipt/ContractKeyTerms
351
+ extract/ Extractor protocol, Anthropic provider, fixture provider
352
+ ground/ text normalization, exact/fuzzy quote alignment, bbox merging
353
+ verify/ value-vs-evidence checks, cross-field rules, the verdict engine
354
+ server/ FastAPI app (upload, extract, review, export)
355
+ cli.py extract / verify / serve
356
+ web/ Vite + TypeScript review UI (no framework)
357
+ scripts/ synthetic sample-document generator, static-demo data precomputation
358
+ examples/ synthetic sample PDFs + fixture extractions (planted errors, for the demo/tests)
359
+ ```
360
+
361
+ Python ≥3.11, [uv](https://docs.astral.sh/uv/) for dependency management,
362
+ src layout, fully typed (`mypy --strict`-adjacent; see `pyproject.toml`).
363
+
364
+ ## Development
365
+
366
+ ```bash
367
+ uv sync --extra dev --extra ocr
368
+ uv run pytest
369
+ uv run ruff check src tests
370
+ uv run mypy src
371
+
372
+ cd web && npm ci && npm run typecheck && npm run lint && npm run build
373
+ ```
374
+
375
+ `fieldproof serve` from a checkout serves `web/dist`. For a release,
376
+ `uv run python scripts/bundle_ui.py && uv build` builds the UI into the
377
+ package first, so the wheel carries it.
378
+
379
+ Regenerate the sample documents and demo data after changing them - the
380
+ output (`web/public/demo-data/`) is committed, since the Pages deploy is a
381
+ plain `npm ci && npm run build:demo` with no Python step:
382
+
383
+ ```bash
384
+ uv run python scripts/generate_samples.py
385
+ uv run python scripts/build_demo_data.py # writes + commit web/public/demo-data/
386
+ ```
387
+
388
+ ## Contributing
389
+
390
+ See [CONTRIBUTING.md](https://github.com/antonsoo/fieldproof/blob/main/CONTRIBUTING.md). Issues and pull requests welcome.
391
+
392
+ ## License
393
+
394
+ [MIT](https://github.com/antonsoo/fieldproof/blob/main/LICENSE) © 2026 Anton Soloviev
395
+
396
+ ---
397
+
398
+ <sub>Part of [Officina](https://antonsoo.github.io/officina/), a set of small open-source tools by [Anton Soloviev](https://github.com/antonsoo).</sub>
@@ -0,0 +1,34 @@
1
+ fieldproof/__init__.py,sha256=zG3E1zP6hfrVO3A8uCbvMg5BGOLLvgOzaGBzPRiKAJ0,274
2
+ fieldproof/cli.py,sha256=OQcKMgMAmG0ysYBi6P6X3rO_h0tTH_pOxpZ_pX8rWw4,7207
3
+ fieldproof/document/__init__.py,sha256=lHfKVy4LpuFlrj2kzc8uGWV6NmmiYH7GTIJ7ttCX8HQ,360
4
+ fieldproof/document/loader.py,sha256=upz1rIgsgDJOC6OyKVNamhc8atpfCuDBui_TU72g7Lg,2636
5
+ fieldproof/document/model.py,sha256=Ro5jJDUuVyG7W8Osm9r5zm25OHl1IL-a-3lz07eHQYk,2826
6
+ fieldproof/document/ocr.py,sha256=bz8B5Er0kSJKWbt51BTNKDjCIeXsmhorEnex543J0s8,4177
7
+ fieldproof/document/render.py,sha256=qeIAM0R7axK7FOvkHyg0c7_QsyiFLKoyJVLrdNBwEDc,1605
8
+ fieldproof/extract/__init__.py,sha256=U8ksr6RjBVvDmj7i9MxIeqXE6mO5GmiNb6WYNMxXgI4,380
9
+ fieldproof/extract/anthropic_provider.py,sha256=0WBUHhseoU54pouOARPUtba_JtWs6f1MZoZoVbYF8SE,6469
10
+ fieldproof/extract/base.py,sha256=yqZLujMg-6lBsdEQUQTBGtCa7tRDN-61DD4OUWaLC4U,4032
11
+ fieldproof/extract/fixture_provider.py,sha256=24iNXAM6v7QYE1Z_KpnU9kL6CeshyRGJ1dAlGEViW0k,1779
12
+ fieldproof/ground/__init__.py,sha256=0dmue_b5utGjoFm0higjaYDv44XIQZPdyTw6YyRqSW0,580
13
+ fieldproof/ground/align.py,sha256=cb_L2Y2kiv1hFqSQ9c-CZZlRjzIHfqmzIY9eVGjaVjU,11679
14
+ fieldproof/ground/normalize.py,sha256=Z7N3s704lDRJuhA0J7BlerdkUumqE_Vq2QEzJpOkFSA,2260
15
+ fieldproof/schemas/__init__.py,sha256=IehP1nDLUTjoNxxh4tTUbV2GMXgxZaFEWnl2No4ctWA,1589
16
+ fieldproof/schemas/base.py,sha256=7hY-8FhbYK3pln8NjUAaQpiYwWvsaXQ0gOdj-mDoK2g,2178
17
+ fieldproof/schemas/contract.py,sha256=_mT7g2ygOBFPTvLqPuQ5IfZ6RU4MrsRrtth7bzPssbA,1061
18
+ fieldproof/schemas/invoice.py,sha256=wpegGsJfwRrltois7s500gwF9FZMo1qpuI2N2riJ3ms,1358
19
+ fieldproof/schemas/receipt.py,sha256=zuH6LxRuFRLwJbbBwcB7M7GX5UhaYpnJKxHm64E1rm4,755
20
+ fieldproof/server/__init__.py,sha256=sH3NewdLuYv_lMp9MBW7tyCDv6HOhE7xVbM8TaruZUs,57
21
+ fieldproof/server/app.py,sha256=-t832uHaYpHij1ECNi8L98TgktoCd9x_Z55ua_7IN_I,10221
22
+ fieldproof/server/store.py,sha256=2ucBfPxz4KSa6DQT05WXMl6UQ1yNYqzGWbAXzDrUtZs,1796
23
+ fieldproof/server/static/index.html,sha256=YglbfhW-89DOZ2iMAkrF7PY1RMuBPjnupyO1i7TVci0,2908
24
+ fieldproof/server/static/assets/index-BLATbujI.js,sha256=cxjMR40p2jvrx59e6CPbpDSjDYOYyYJ_NQe6STeALp8,20805
25
+ fieldproof/server/static/assets/index-Bo892MpF.css,sha256=1MzwYTE5DnX_q7riq7UQqo-5shsZ3G8m-m7p0ain3wU,10804
26
+ fieldproof/verify/__init__.py,sha256=7UbxV0Cs_sH-LMfNYxwlQfwo-O4ppBCsZEWZmZALc8A,677
27
+ fieldproof/verify/cross_field.py,sha256=LgesYOS5Owgec_WYWlSuemK1TMK3GPzGj8QHAVAz5P0,4468
28
+ fieldproof/verify/engine.py,sha256=_6uuzW3EFBHGpoyl-XJA0bZrTe49h0683-jfcjeJ1eU,9005
29
+ fieldproof/verify/value_checks.py,sha256=-_qaOJWayb44vss_QpEikBy169et2sL2ZuOIbbf2QhM,12577
30
+ fieldproof-0.2.3.dist-info/METADATA,sha256=CddT-40WcryQe_iY7lWumaNuK1ZV7Ike5OmXYrylzXE,19549
31
+ fieldproof-0.2.3.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
32
+ fieldproof-0.2.3.dist-info/entry_points.txt,sha256=VLv5c1psd_HA6HcTm2-inGljOzqmyl3wUS5KkhTlKrM,50
33
+ fieldproof-0.2.3.dist-info/licenses/LICENSE,sha256=4mFEvoZz1pwXUSatjc2e14QxRk8LlxILeZ3HXsfttkc,1071
34
+ fieldproof-0.2.3.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ fieldproof = fieldproof.cli:app
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Anton Soloviev
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.