/advent

:snowflake: My solutions for the Advent of Code

Primary LanguagePython

advent

My solutions for the Advent of Code problems.

Table of Contents

Prerequisites

Conventions

My solutions aim to have minimal package dependencies and aim to adhere to PEP8 using the pycodestyle style checker.

Installation

git clone https://github.com/erictleung/advent.git
cd advent
python setup.py install

Running Solutions

Here is an example solution run.

cd advent
python advent2015/not_quite_lisp.py data/2015_day1.txt

The data is saved and run through as a command line interface.

Testing

git clone https://github.com/erictleung/advent.git
cd advent
python -m unittest
python -m unittest -v # See tests being run