advent-of-code-data
Get your Advent of Code data with a single import statement (by wimglenn)
advent
Advent of Code solutions for Node (by rjwut)
advent-of-code-data | advent | |
---|---|---|
14 | 7 | |
501 | 23 | |
- | - | |
8.8 | 8.1 | |
3 months ago | 5 months ago | |
Python | JavaScript | |
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.
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.
advent
Posts with mentions or reviews of advent.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-06.
-
[2023 Day 5 (Part 2)] [JS] Anyone beat 19ms?
My solution runs both parts in 3.5 ms on my 1.80 GHz Dell machine, which I think is pretty good for JavaScript. I explain my solution in the comments.
-
Has anything changed about authentication for downloading input?
Here is a link to the Node module that handles my input fetching. The function that performs the actual request is below, using Node's built-in https module:
-
[2022 Day 10 (Part 2)] Today's puzzle not screenreader accessible
I made one in JavaScript as part of my AoC framework; feel free to steal the code.
-
-🎄- 2022 Day 2 Solutions -🎄-
JavaScript
-
Please include your contact info in the User-Agent header of automated requests!
I mean, yeah, others are welcome to use it: https://github.com/rjwut/advent
-
[2022] AoC Awesome List on Github
My repo is at https://github.com/rjwut/advent. It has all solutions for all years in Node, and includes auto input download, skeleton solution generation, and even OCR for the ASCII letters used in some puzzles.
-
[ALL YEARS] [JavaScript] New member of the 350⭐club
I just earned my last missing star. (No surprise, it was 2019 day 22. 🤮) My repo has all solutions in JavaScript, the vast majority of which complete sub-second. I also wanted to make it more useful for people learning the language, so I tried to write things in a way that would be more easily readable and maintainable than your typical quick-and-dirty solutions, and there's lots of documentation, probably more than I'd normally write. I also included my framework for generating skeleton solution files and retrieving input from the site (throttled and cached, of course). It even includes my OCR module for reading the large ASCII art letters used in some puzzles. Hope somebody out there finds it helpful in their own quest to improve their coding!
What are some alternatives?
When comparing advent-of-code-data and advent you can also consider the following projects:
aoc-haskell-template - Advent of Code template for Haskell
advent-of-code-2022 - https://adventofcode.com/2022/
blitzen - A helpful reindeer to fetch inputs from — and submit answers to — Advent of Code.
awesome-advent-of-code - A collection of awesome resources related to the yearly Advent of Code challenge.
aoc2021
advent-of-code-next - NextJS Project for Advent of Code
aoclib - Utilities convenient for Advent of Code solutions in Rust
aoc_helper - @salt-die's aoc_helper package, rewritten from the ground up
AdventOfCodeBase - Template repository for solving Advent of Code puzzles, which automatically handles input retrieval and output.
factor - Factor programming language
advent-of-code-data vs aoc-haskell-template
advent vs advent-of-code-2022
advent-of-code-data vs blitzen
advent vs awesome-advent-of-code
advent-of-code-data vs aoc2021
advent vs advent-of-code-next
advent-of-code-data vs aoclib
advent vs aoc_helper
advent-of-code-data vs AdventOfCodeBase
advent vs AdventOfCodeBase
advent-of-code-data vs aoc_helper
advent vs factor