Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyflores/aoc
Advent of Code
https://github.com/kyflores/aoc
Last synced: 29 days ago
JSON representation
Advent of Code
- Host: GitHub
- URL: https://github.com/kyflores/aoc
- Owner: kyflores
- Created: 2023-12-01T05:26:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-05T10:47:11.000Z (about 1 year ago)
- Last Synced: 2024-11-09T15:05:50.926Z (3 months ago)
- Language: Python
- Size: 44.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aoc
Advent of Code## Usage
```
usage: runner.py [-h] [-i INPUT] [-b] [-t] problempositional arguments:
problem Problem number. Pass like 17-aoptions:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Path to input file. It will be loaded as a string.
-b, --bench Benchmark the solution.
-t, --test Run tests
```Follow these naming conventions for runner to work.
* `day#.py` for filenames
* `problem_{a,b}` for problem functions
* `TestProblem` for test cases## Goals
* Learn more advanced python features:
* generators
* context managers
* decorators