advent-of-code-data

Get your Advent of Code data with a single import statement

MIT License

Downloads
33.9K
Stars
512
Committers
11
advent-of-code-data - v0.9.3

Published by wimglenn almost 4 years ago

  • Puzzle model has answered_a, answered_b properties and an answered(part) method. puzzle.answered_a is equivalent to hasattr(puzzle, "answer_a").
advent-of-code-data - v0.9.2

Published by wimglenn almost 4 years ago

  • from aocd import notexist will now have the context "notexist" on the AttributeError exception.
advent-of-code-data - v0.9.1

Published by wimglenn almost 4 years ago

  • blocker clears the countdown text off the terminal after unblocking
  • aoc cli accepts autosubmit and reopen options
advent-of-code-data - v0.9.0

Published by wimglenn almost 4 years ago

  • Puzzle model gets easter eggs feature
  • User model gets stats feature
  • submit is more idiot-proof
  • aocd-token cookie scraper console script (requires brower-cookie3 lib)
  • "blocker" function in aocd.utils to sleep until the next unlock time
  • get_data grows a new "block" keyword argument (default false)
  • from aocd import lines and from aocd import numbers conveniences
  • reduced posts to server in case aocd has already saved correct answers
advent-of-code-data - v0.8.5

Published by wimglenn almost 5 years ago

  • For consistency of return value, accessing Puzzle.my_stats will still raise PuzzleUnsolvedError unless you have solved both parts a and b.
advent-of-code-data - v0.8.4

Published by wimglenn almost 5 years ago

  • added Puzzle.view() method (opens detail page in webbrowser)
  • added experimental Puzzle.my_stats attribute (shows your completion time, rank, score)
advent-of-code-data - v0.8.3

Published by wimglenn almost 5 years ago

  • Improved the output look of the runner cosmetically
advent-of-code-data - v0.8.2

Published by wimglenn almost 5 years ago

  • better logging for users working with multiple auth tokens
advent-of-code-data - v0.8.1

Published by wimglenn over 5 years ago

advent-of-code-data - v0.8.0

Published by wimglenn over 5 years ago

  • restructure single .py module into package distribution
  • added OOP-style interfaces for getting data and posting answers
  • add plugin support and aoc runner script
advent-of-code-data - v0.7.1

Published by wimglenn almost 6 years ago

  • importing submit only partially applies day/year when introspection was successful
advent-of-code-data - v0.7

Published by wimglenn almost 6 years ago

  • add get_answer func
  • improve auto-submission
  • save bad answers too
advent-of-code-data - v0.6

Published by wimglenn almost 6 years ago

  • allows to be re-used within same interpreter session by avoiding any import time logic
  • submit1 and submit2 are removed - now submit just autodetects the correct level
  • correct submissions are persisted to disk
advent-of-code-data - v0.5

Published by wimglenn almost 6 years ago

advent-of-code-data - v0.4.2

Published by wimglenn almost 6 years ago

Package Rankings
Top 3.06% on Pypi.org
Top 8.17% on Proxy.golang.org