Language: (3.9)
Package Manager: pip with venv
You first need to start the virtual environment:
python3.9 -m venv aoc2020-env
source aoc2020-env/bin/activateThe only dependencies are numpy and tqdm.
This repo uses my standard AoC setup. Inputs are stored as inputs/day{n}/{name}.txt. By default name is real (the real question). To run a specific day's solution, use the following command:
python -m aoc2020 {day} {part} {name}For example, to run the solution for day 1, part 2 with the example input:
python -m aoc2020 1 2 ex(And make sure that inputs/day1/ex.txt exists.)