Skip to content

🎄 Advent of Code 2019 solutions in python3

License

Notifications You must be signed in to change notification settings

danhalligan/AoC2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AoC2019

CI workflow License Code style

AoC2019 is a python package implementing solutions python solutions for the Advent of Code 2019 problems.

Example

To solve a specific day, you can use solve, passing in the input file for the current day using poetry.

poetry run aoc2019 solve inputs/day01.txt

Or pass in multiple days to solve multiple inputs.

poetry run aoc2019 solve inputs/*

You can automatically download the input for a given day by setting your session cookie in an environment variable (or in a .session.txt text file in the working directory).

export AOC_SESSION=[your session]

Then using the input command to get today's input:

poetry run aoc2019 input

Releases

No releases published

Packages

No packages published

Languages