Files
stpweb/python/requirements.txt
adamfandClaude Opus 5.5 f8d48ba9af Move the rowing photo Claude call to the Python service
POST /rowing in the Go backend no longer calls the Anthropic SDK. It keeps
the admin gate, EXIF date, duplicate check, sanity bounds and insert, and
sends the image to a new internal Python route, POST /internal/rowing/read,
which makes the Claude call and returns the three numbers it read.

The route spends a paid call and has no auth of its own, so nginx 404s
/py/internal/ and the route refuses anything carrying the proxy headers
nginx adds. The python container now receives CLAUDE_API_KEY.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-09 11:46:17 +01:00

10 lines
300 B
Plaintext

fastapi==0.115.6
uvicorn[standard]==0.34.0
requests==2.32.3
anthropic==1.12.1
# Dev only, deliberately commented out so the image stays slim: the test suite
# (python/tests) needs pytest. Install it with `pip install pytest` locally and
# run `python -m pytest` from this directory.
# pytest==9.0.3