mirror of
https://github.com/PR0M3TH3AN/unredact.git
synced 2026-11-03 04:00:29 +00:00
Adds POST /api/upload (runs full pipeline: rasterize, OCR, font detect, overlay), GET endpoints for original/overlay images and OCR data JSON. Also adds python-multipart, anyio, and pytest-anyio dependencies. Co-Authored-By: Claude Opus 4.6 <[email protected]>
29 lines
587 B
TOML
29 lines
587 B
TOML
[project]
|
|
name = "unredact"
|
|
version = "0.1.0"
|
|
description = "AI-powered redaction analysis for Epstein case files"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"uvicorn>=0.34",
|
|
"python-multipart>=0.0.17",
|
|
"pdf2image>=1.17",
|
|
"pytesseract>=0.3.13",
|
|
"opencv-python>=4.10",
|
|
"Pillow>=11.0",
|
|
"anthropic>=0.52",
|
|
"numpy>=1.26",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"httpx>=0.28",
|
|
"anyio>=4.0",
|
|
"pytest-anyio>=0.0.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=75"]
|
|
build-backend = "setuptools.build_meta"
|