mirror of
https://github.com/thib8956/advent-of-code.git
synced 2026-02-27 18:58:14 +00:00
648 B
648 B
Advent of code
My solutions to the advent of code challenges, written in python
How to run
Setup
To use, you need a session token from Advent of Code:
- Log in at https://adventofcode.com
- Copy your session cookie (check browser dev tools)
- Either:
- Set
AOC_SESSIONenvironment variable, or - Create a
.envfile in project root with:AOC_SESSION=your_token
- Set
Install project
Run make install or
Run from root directory (inside a virtualenv):
$ pip install -e .
Run a single day
$ aoc <year> <day>
Run a whole year
$ aoc <year>