advent-of-code
Advent of Code in python3 (by lehippie)
advent-of-code-data
Get your Advent of Code data with a single import statement (by wimglenn)
Our great sponsors
advent-of-code | advent-of-code-data | |
---|---|---|
6 | 14 | |
0 | 500 | |
- | - | |
8.2 | 8.8 | |
4 months ago | 3 months ago | |
Python | Python | |
- | 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
Posts with mentions or reviews of advent-of-code.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-30.
-
[2022 Day 22 (Part 2)] Hey, if it works, it works!
My code in Python3 here.
-
Please include your contact info in the User-Agent header of automated requests!
Here is my repo : https://github.com/lehippie/advent-of-code
-
[2021 Day 13][Python] Script to transform hashes to text?
So, I developed a Python class to manage input parsing and solve day parts. With it, I only have to call the solve() method and he current status or the puzzle is printed to stdout. This helps to avoid regressions when tinkering in part_two with an already solved part_one.
-
-π- 2021 Day 12 Solutions -π-
Python3 : https://github.com/lehippie/advent-of-code/blob/master/2021/12.py
- -π- 2021 Day 8 Solutions -π-
-
-π- 2020 Day 22 Solutions -π-
Python3 solution
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 advent-of-code and advent-of-code-data you can also consider the following projects:
aoc_helper - @salt-die's aoc_helper package, rewritten from the ground up
aoc-haskell-template - Advent of Code template for Haskell
scamp-cpu - A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system.
blitzen - A helpful reindeer to fetch inputs from β and submit answers to β Advent of Code.
AdventOfCodeBase - Template repository for solving Advent of Code puzzles, which automatically handles input retrieval and output.
aoc2021
aoclib - Utilities convenient for Advent of Code solutions in Rust
aoc-cli - Advent of Code command-line tool
AdventOfCode-2021
advent-of-code vs aoc_helper
advent-of-code-data vs aoc-haskell-template
advent-of-code vs scamp-cpu
advent-of-code-data vs blitzen
advent-of-code vs AdventOfCodeBase
advent-of-code-data vs aoc2021
advent-of-code vs aoclib
advent-of-code-data vs aoclib
advent-of-code vs aoc-cli
advent-of-code-data vs AdventOfCodeBase
advent-of-code vs AdventOfCode-2021
advent-of-code-data vs aoc_helper