Skip to content

About

My solutions to Advent of Code tasks, written in Python.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

43 Commits

Folders and files

Repository files navigation

Advent of Code

This repo contains my solutions to Advent of Code tasks written in Python.

Running with uv

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

Getting the session cookie

  1. Log in to https://adventofcode.com/
  2. Go to a puzzle and open the input.
  3. Open developer options in the browser and view the request in the network tab.
  4. Find the session cookie in the cookie tab.
  5. Copy it to a file named .aoc_session in the root of this repo.

About

My solutions to Advent of Code tasks, written in Python.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages