pdf-tools/pyproject.toml
Eric Furst e464871b69 Initial public release of pdf-tools
Command-line tools for marked-up PDFs and scanned handwritten notes:
pdf-scrub, pdf-notes-md, scan-notes-md (Ollama by default, Claude on
request), scan-notes-index (per-page search metadata), and
scan-notes-stats.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZSvbNaLhgFuTm7wmkgbWs
2026-11-03 07:25:51 -05:00

42 lines
1.2 KiB
TOML

[project]
name = "pdf-tools"
version = "0.1.0"
description = "Local PDF utilities: annotation scrubbing, note extraction, and handwritten-page OCR."
readme = "README.md"
requires-python = ">=3.11"
authors = [{ name = "Eric Furst" }]
license = { text = "MIT" }
dependencies = [
"pikepdf>=9.0", # robust PDF rewriting for scrubbing
"pypdf>=5.0", # text extraction under highlight rects
"pdfminer.six>=20240706", # used by pdfannots
"pdfannots>=0.4", # annotation extraction with underlying text
"Pillow>=10.4", # image handling for scan tool
"anthropic>=0.39", # Tool 3 OCR
"click>=8.1", # CLI ergonomics
"pypdfium2>=4.30", # PDF page rendering for scan tool
]
[project.scripts]
pdf-scrub = "pdf_tools.scrub:main"
pdf-notes-md = "pdf_tools.extract_pdf:main"
scan-notes-md = "pdf_tools.extract_scan:main"
scan-notes-stats = "pdf_tools.scan_stats:main"
scan-notes-index = "pdf_tools.scan_index:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/pdf_tools"]
[dependency-groups]
dev = [
"pytest>=9.2.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-p no:anyio"