- Python 3.12 or higher
- uv Astral
Update Aoc session cookie in ~/.aoc_session. The session cookie
can be found in your browser cookies when logged into Advent of Code.
You can also pass it as an environment variable.
export AOC_SESSION="your_session_cookie_here"uv sync
uv run aocRun a specific day:
uv run aoc --day 5 --year 2025 run [--part 1]Run pre-commit checks:
uv run pre-commitRun tests:
uv run pytest tests/y2025aoc is distributed under the terms of the
MIT license.