Skip to content

H-Rusch/AdventOfCode-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdventOfCode

Usage

  • This project assumes the usage of uv
  • Entrypoint is main.py in the root directory
  • Year and Day are read from the command line arguments
  • Example: uv run main.py 2017 1
  • Tests can be run using uv run pytest

Automated download of inputs

A puzzle's input is downloaded the first time a day is executed and then cached after the initial download (get_inputs/load/load_input())

In case the input is corrupted, delete the file manually and run the code again, to download a fresh copy of the input.

User-Agent header:

https://github.com/H-Rusch/AdventOfCode-Python contact @ https://github.com/H-Rusch/AdventOfCode-Python/issues/new

Solutions for years