mirror of
https://github.com/PR0M3TH3AN/unredact.git
synced 2026-10-27 08:40:29 +00:00
Add POST /api/solve endpoint that streams results via Server-Sent Events,
supporting both enumerate (brute-force) and dictionary solve modes. Add
dictionary CRUD endpoints (POST/GET/DELETE /api/dictionary) and solve
cancellation (DELETE /api/solve/{id}). Move static files mount to end of
app.py so API routes take priority.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
31 lines
632 B
TOML
31 lines
632 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",
|
|
"sse-starlette>=2.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"httpx>=0.28",
|
|
"anyio>=4.0",
|
|
"pytest-anyio>=0.0.0",
|
|
"scipy>=1.14",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=75"]
|
|
build-backend = "setuptools.build_meta"
|