Skip to content

About

Advent of Code

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

72 Commits

Folders and files

Repository files navigation

🎄 Advent Of Code 🎄

Repository for the Advent of Code Challenge, solved in Python3. Every year has a subfolder, where the the solution is located.

          .     .  .      +     .      .          .
     .       .      .     #       .           .
        .      .         ###            .      .      .
      .      .   "#:. .:##"##:. .:#"  .      .
          .      . "####"###"####"  .
       .     "#:.    .:#"###"#:.    .:#"  .        .       .
  .             "#########"#########"        .        .
        .    "#:.  "####"###"####"  .:#"   .       .
     .     .  "#######""##"##""#######"                  .
                ."##"#####"#####"##"           .      .
    .   "#:. ...  .:##"###"###"##:.  ... .:#"     .
      .     "#######"##"#####"##"#######"      .     .
    .    .     "#####""#######""#####"    .      .
            .     "      000      "    .     .
       .         .   .   000     .        .       .
.. .. ..................O000O........................ ...... ...

Setup

Dependencies are managed with uv. Run uv sync once after cloning to create the .venv.

Run everything through uv run (e.g. uv run python solve.py 1), or activate the env with source .venv/bin/activate.

Add new packages with uv add [package].

How to use

Initialize a day by running python build.py [day] [optional: year, default=2026].

A typical solution is a file containing the funcitons part_1 and part_2, returning respectively the solution to the given day.

Add testcases into the examples.json files, and test them with pytest.

Once the testcases run without problem, submit with python solve.py [day] [optional: year, default=2026]

Links

🎄 Advent of Code 2020

🎄 Cool Tree Art!

About

Advent of Code

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages