Get your Advent of Code data with a single import statement
MIT License
Full Changelog: https://github.com/wimglenn/advent-of-code-data/compare/v2.0.0...v2.0.1
Published by wimglenn over 1 year ago
aoc --example
by @wimglenn in https://github.com/wimglenn/advent-of-code-data/pull/121
Full Changelog: https://github.com/wimglenn/advent-of-code-data/compare/v1.3.2...v2.0.0
Published by wimglenn almost 2 years ago
float.is_integer()
returns True
, a warning will be logged and the value will be coerced using str(int(val))
. Prevents sadness where e.g. 1234 is the right answer but you get the wrong answer by submitting "1234.0"Full Changelog: https://github.com/wimglenn/advent-of-code-data/compare/v1.3.1...v1.3.2
Published by wimglenn almost 2 years ago
Full Changelog: https://github.com/wimglenn/advent-of-code-data/compare/v1.3.0...v1.3.1
Published by wimglenn almost 2 years ago
Full Changelog: https://github.com/wimglenn/advent-of-code-data/compare/v1.2.3...v1.3.0
Published by wimglenn almost 2 years ago
Full Changelog: https://github.com/wimglenn/advent-of-code-data/compare/v1.2.2...v1.2.3
Published by wimglenn almost 2 years ago
Full Changelog: https://github.com/wimglenn/advent-of-code-data/compare/v1.2.1...v1.2.2
Published by wimglenn almost 2 years ago
User.get_stats()
works even if no stars collected yet. closes #85 by @wimglenn in https://github.com/wimglenn/advent-of-code-data/pull/86
Full Changelog: https://github.com/wimglenn/advent-of-code-data/compare/v1.2.0...v1.2.1
Published by wimglenn almost 2 years ago
Full Changelog: https://github.com/wimglenn/advent-of-code-data/compare/v1.1.4...v1.2.0
Published by wimglenn almost 2 years ago
User.get_stats()
has a better error message if the auth token is expired or not functioningPublished by wimglenn about 2 years ago
User.from_id("google.wim.123456")
, instead of from the token.Published by wimglenn almost 3 years ago
aoc --timeout t ...
was not being correctly passed through to workers.aocd-token --check
will print dead tokens in red colored text.Published by wimglenn almost 3 years ago
~/.config/aocd
. If you want the token(s) and cached inputs/answers to exist in separate locations, you can set the environment variable AOCD_CONFIG_DIR
to specify a different location for the token(s).--quiet
to suppress any output from plugins so it doesn't mess up the aoc
runner's display.Published by wimglenn about 3 years ago
Published by wimglenn over 3 years ago
Published by wimglenn almost 4 years ago
%-I
in a strftime on it's not portable (breaks on Windows)1
or "1"
to mean part "a" and 2
or "2"
to mean part "b"Published by wimglenn almost 4 years ago
Published by wimglenn almost 4 years ago
aoc
now returns non-zero exit code if any puzzles were solved incorrectly.Published by wimglenn almost 4 years ago
--check
option to aocd-token
script. Just checks existing token(s) for liveness and exits.aocd.data
now works within PyCharm's pydevconsole REPL wrapper.