[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"