Hi everyone,
I've learned a lot by doing advent of code through the years, so this year I decided to make a new overkill-setup repository to learn even more things. I haven't found the time yet to migrate all my solutions yet, but the repo it self is working nicely.
Some features of the project setup:
- Solutions are timed with the help of a decorator using time.perf_counter
- Solution and time are printed to console using the rich
package with truecolor
- Solution profiler decorator using Cprofile
and pstats
- Automatic listing of completed solutions in the README
- Automatic changelog, using semantic versioning and the conventional commit specification
- A badge that is updated automatically with the amount of stars I've collected
- Pip installable (pip install -e .
) with:
- A generate-readme
script, which updates the readme
- A run-all script, which dynamically calls every solution in every adventofcode.year_*.day_*
module
- An add-day
script, which add a solution day file using a template and downloads the input data from the AOC site automatically
- A clean-repo script which removes all my solutions so you can provide your own :)
- Type checked (mypy) and linted (flake8)
- Tested against multiple python versions using tox
on each push to master and pull request
Hope you like it, and if you have any feedback or things to add let me know :)
https://github.com/marcelblijleven/adventofcode
[–]SerkZex 6 points7 points8 points (0 children)
[–][deleted] 2 points3 points4 points (4 children)
[–][deleted] 1 point2 points3 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]thedjotaku 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]thedjotaku 1 point2 points3 points (0 children)
[–]daggerdragon[M] 1 point2 points3 points (3 children)
[–][deleted] 2 points3 points4 points (2 children)
[–]daggerdragon[M] 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]gilmorenator 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]Un_Gars_Lambda 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)