advent-of-code-data
Advent-of-Code
advent-of-code-data | Advent-of-Code | |
---|---|---|
14 | 3 | |
501 | 6 | |
- | - | |
8.8 | 9.2 | |
3 months ago | 7 days ago | |
Python | Python | |
MIT License | MIT License |
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
-
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-of-Code
-
Puzzle: Implement a fantasy computer to find out the answer to this program
Python implementation: GitHub
-
Coding Quest: An AoC inspired competition specifically for secondary school students
Very cool! I (mostly?) solved 2022 today in about 300 lines of Python and had a lot of fun.
- Tips for parsing inputs in Python?
What are some alternatives?
aoc-haskell-template - Advent of Code template for Haskell
CodingChallenges - Micro Coding Challenges. Mastering these coding challenges may not get you a job at google... but you'll be one step closer to building your own JavaScript game at codeguppy.com.
blitzen - A helpful reindeer to fetch inputs from — and submit answers to — Advent of Code.
rust-fantasy - Rust implementation for fantasy CPU posting from Reddit
aoc2021
aoclib - Utilities convenient for Advent of Code solutions in Rust
AdventOfCodeBase - Template repository for solving Advent of Code puzzles, which automatically handles input retrieval and output.
aoc_helper - @salt-die's aoc_helper package, rewritten from the ground up
pytest-aoc - Downloads puzzle inputs for Advent of Code and synthesizes PyTest fixtures
advent-of-code - Advent of Code in python3
aoc-cli - Advent of Code command-line tool
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.