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