This repo contains my solutions to Advent of Code tasks written in Python.
uv sync
uv run aoc fetch 1 # fetch input + create solutions/2026/d01/
uv run aoc run 1 # run solutions/2026/d01/script.py
uv run aoc run 1 -t # run with test_input.txt
uv run aoc run 5 -y 2025 # other year (default: current AoC year)Activate the venv to drop the uv run prefix:
source .venv/bin/activate
aoc run 1- Log in to https://adventofcode.com/
- Go to a puzzle and open the input.
- Open developer options in the browser and view the request in the network tab.
- Find the session cookie in the cookie tab.
- Copy it to a file named
.aoc_sessionin the root of this repo.