aoc-cli
Advent of Code command-line tool (by scarvalhojr)
advent-of-code-data
Get your Advent of Code data with a single import statement (by wimglenn)
aoc-cli | advent-of-code-data | |
---|---|---|
3 | 14 | |
237 | 501 | |
- | - | |
5.8 | 8.8 | |
5 months ago | 3 months ago | |
Rust | Python | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aoc-cli
Posts with mentions or reviews of aoc-cli.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-03.
-
API for Example Input?
I am not sure if you mean a library that you can use to make API calls within your solution to download the problem on the fly. But, have you taken a look at aoc-cli?
-
2022 Day 4 [GPT-3] Placing #1 with GPT-3
Here's the code I wrote which runs the whole process — from downloading the puzzle (courtesy of https://github.com/scarvalhojr/aoc-cli !), to running 20 attempts in parallel, to sorting through the many solutions to find the likely correct one, to submitting the answer: https://github.com/max-sixty/aoc-gpt
- Please include your contact info in the User-Agent header of automated requests!
advent-of-code-data
Posts with mentions or reviews of advent-of-code-data.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-06.
-
Tips for parsing inputs in Python?
The one additional trick I'd point out is using https://github.com/wimglenn/advent-of-code-data to help automate the process of acquiring your input:
-
[2022 Day 17, Part 1] Works on the example data but not the real data
By the way, I use https://github.com/wimglenn/advent-of-code-data to get the data. I removed it from the code to avoid confusion.
- Get your Advent of Code data with a single import statement
-
Please include your contact info in the User-Agent header of automated requests!
advent-of-code-data updated to match this format in v1.2.3 (#91)
-
GitHub - aloussase/aoc-haskell-template: Advent of Code template for Haskell
I think that's a one-time thing though, so if you get the session cookie now you can use it for the rest of December. There's a python module to grab inputs and submit answers here, would love to see something similar in Haskell!
-
How to prepare for AoC2022?
In addition to doing previous years’, I’d check out https://github.com/wimglenn/advent-of-code-data, which you can use to write some automation about loading data and submitting your responses. If you don’t know how to write unit tests, this might be a good chance to learn the basics. In most problems, he gives you a sample input and the expected result.
-
[Python] Most people: *downloads the puzzle input manually* | Me:
If you absolutely must have something download the input for you, then please use an existing, well-tested system like aocd. More people using it and contributing to it makes it less likely that it will have any significant defects.
-
Retrieving input data files outside of a browser.
While researching this I came across https://github.com/wimglenn/advent-of-code-data . If you are looking for something a little more fleshed out than a command line. It lets you access previous years' data as well. Pretty cool.
-
Python template to automate AoC
Since you're using Python, maybe just use https://github.com/wimglenn/advent-of-code-data/tree/master/aocd that seems to have already done these things.
-
[2021] [python 3.9] AoC framework
advent-of-code-data might be of use for you, it provides some helpers to fetch inputs and submit solutions to structure your solution around.
What are some alternatives?
When comparing aoc-cli and advent-of-code-data you can also consider the following projects:
AdventOfCodeBase - Template repository for solving Advent of Code puzzles, which automatically handles input retrieval and output.
aoc-haskell-template - Advent of Code template for Haskell
aoc_helper - @salt-die's aoc_helper package, rewritten from the ground up
blitzen - A helpful reindeer to fetch inputs from — and submit answers to — Advent of Code.
aoclib - Utilities convenient for Advent of Code solutions in Rust
aoc2021
aoc-gpt - Solve Advent of Code puzzles with GPT-3
advent - Advent of Code solutions for Node
aocleaderboard - Merge multiple Advent of Code leaderboards
aoc-cli vs AdventOfCodeBase
advent-of-code-data vs aoc-haskell-template
aoc-cli vs aoc_helper
advent-of-code-data vs blitzen
aoc-cli vs aoclib
advent-of-code-data vs aoc2021
aoc-cli vs aoc-gpt
advent-of-code-data vs aoclib
aoc-cli vs advent
advent-of-code-data vs AdventOfCodeBase
aoc-cli vs aocleaderboard
advent-of-code-data vs aoc_helper