GithubHelp home page GithubHelp logo

sebaestschjin / advent-of-code Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 519 KB

Solutions to the advent of code

License: MIT License

Python 96.55% Mustache 0.43% TypeScript 3.02%
advent-of-code advent-of-code-2017 advent-of-code-2018 advent-of-code-2019 advent-of-code-2020 advent-of-code-2021

advent-of-code's Introduction

Run Python Tests

My solutions to advent of code. Written in Python. Some newer solutions require Python 3.9+. Most other stuff should work with 3.6+.

Progress

Year Stars
2021 2021
2020 2020
2019 2019
2018 2018
2017 2017
2016 2016
2015 2015

Goals

  • use test-driven development
  • write readable and clean code
  • try to reuse code
  • complete all challenges

Usage

Create files for a new day

Run the script scripts/create.py with the year and day as parameters. This will create a new directory for this day and copy all files from the template directory. Template files (ending with .mustache) wil be rendered and then saved. The input file will be automatically loaded and written to the file in. This requires that the AOC Session-Token is available on the system (more information on [https://pypi.org/project/advent-of-code-data/]).

Run the solution for a given day

Run the script scripts/run.py with the year and day as parameters.

advent-of-code's People

Contributors

sebaestschjin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.