Advent-of-code-data

Latest version: v2.0.1

Safety actively analyzes 629678 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 6

0.9.5

- The runner `aoc` now returns non-zero exit code if any puzzles were solved incorrectly.

0.9.4

- Added `--check` option to `aocd-token` script. Just checks existing token(s) for liveness and exits.
- Interactive use of `aocd.data` now works within PyCharm's pydevconsole REPL wrapper.

0.9.3

- `Puzzle` model has `answered_a`, `answered_b` properties and an `answered(part)` method. `puzzle.answered_a` is equivalent to `hasattr(puzzle, "answer_a")`.

0.9.2

- `from aocd import notexist` will now have the context "notexist" on the `AttributeError` exception.

0.9.1

- `blocker` clears the countdown text off the terminal after unblocking
- `aoc` cli accepts autosubmit and reopen options

0.9.0

- 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

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.