https://github.com/s3rius/aocpy
Advent of code solutions in python
https://github.com/s3rius/aocpy
Last synced: 8 months ago
JSON representation
Advent of code solutions in python
- Host: GitHub
- URL: https://github.com/s3rius/aocpy
- Owner: s3rius
- Created: 2022-12-14T10:38:44.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-18T11:17:42.000Z (over 3 years ago)
- Last Synced: 2025-10-08T01:57:04.308Z (8 months ago)
- Language: Python
- Size: 95.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of code solutions
This repo contains solutions for different years of advent of code.
How to run:
```bash
python -m aocpy run {year} {day}
```
Or if you want to run it against test data you may run
```bash
python -m aocpy run {year} {day} --test
```
If you want to create a solution from a template and download inputs for the problem,
just call
```
python -m aocpy prepare {year} {day}
```
This will create a solution file. If you provide `AOC_SESSION` env variable, it will also download your inputs.