Skip to content

pgebert/advent-of-code-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

37 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Advent of Code 2021

Advent of Code 2021 solutions written in Python. πŸš€

Structure

The file structure is follows:

advent-of-code-2021
β”œβ”€β”€ data               # Contains the input files for each day
β”‚   β”œβ”€β”€ day01          
β”‚   β”œβ”€β”€ day02         
β”‚   └── ...  
β”œβ”€β”€ problems           # Implemented solutions for each day
β”‚   β”œβ”€β”€ day01          
β”‚   β”œβ”€β”€ day02         
β”‚   └── ...  
β”œβ”€β”€ tests              # Tests for each day
β”‚   β”œβ”€β”€ day01         
β”‚   β”œβ”€β”€ day02         
β”‚   └── ...  
β”œβ”€β”€ utils              # Utility methods to read in files and examples
β”œβ”€β”€ setup.py           # Package information
└── README.md

Getting started

(Optional) Create a conda environment:

foo@bar:~$ conda create -n adventOfCode2021
foo@bar:~$ conda activate adventOfCode2021

Install local package in editable mode:

foo@bar:~$ cd advent-of-code-2021
foo@bar:~$ pip install -e .

Run tests:

foo@bar:~$ pytest .\tests\

Happy coding πŸ₯³

undraw_Santa_visit_re_oiwr

About

Advent of Code 2021 solutions written in Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages