pinion-pdf 1.0.0: rebuild a CSV from a spreadsheet printed to PDF
Derives page layout from the file itself (batch size, column edges, row grid, heading font), places text by start-x to survive cell overflow, detects blackout redactions including filled-path bars and single-character bars, and self-verifies via Excel's printed row-number chain. Output byte-identical to four independently written implementations across a 1,048,576-row reference file. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012bQ28wRBiQYcSR9FzV9U7c
This commit is contained in:
commit
74b06be742
11 files changed
+666
No files matched your search
@@ -0,0 +1,19 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=61"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "pinion-pdf"
|
||||
version = "1.0.0"
|
||||
description = "Turn a spreadsheet that was printed to PDF back into a CSV, and prove the conversion is right."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.9"
|
||||
license = { text = "MIT" }
|
||||
authors = [{ name = "David Adams" }]
|
||||
dependencies = ["pymupdf"]
|
||||
|
||||
[project.scripts]
|
||||
pinion = "pinion.cli:main"
|
||||
|
||||
[tool.setuptools]
|
||||
packages = ["pinion"]
|
||||
Reference in new issue
Block a user