Create a conda environment:
conda create --name AoC python=3.12Activate the environment:
conda activate AoCClone the repository and cd into the folder:
git clone https://github.com/erickraemer/AdventOfCode2024.git AoC
cd AoCInstall the repository in edit mode
pip install -e .XX is in the following denoted as the Advent of Code day. For example, day 1 is 01.
Advent of Code prohibits uploading the puzzle input. To execute a puzzle, copy your puzzle input from adventofcode.com/2024 into "data/iXX.txt"
To execute enter:
python -m aoc.dayXX