https://github.com/razerm/advent-of-code-2018
My solutions for https://adventofcode.com/2018
https://github.com/razerm/advent-of-code-2018
Last synced: 2 months ago
JSON representation
My solutions for https://adventofcode.com/2018
- Host: GitHub
- URL: https://github.com/razerm/advent-of-code-2018
- Owner: RazerM
- Created: 2018-11-30T23:41:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-14T20:34:37.000Z (over 6 years ago)
- Last Synced: 2025-01-29T15:35:09.554Z (4 months ago)
- Language: Python
- Size: 95.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Installation
```bash
git clone https://github.com/RazerM/advent-of-code-2018
cd advent-of-code-2018
python3 -m venv venv
source venv/bin/activate
pip install -e .
```# Download input
Set the `AOC_SESSION` environment variable to the value of your
https://adventofcode.com `session` cookie.```bash
./aoc.py download 1 input/1.txt
```# Running
```bash
./aoc.py run 1 input/1.txt
```# Tests
```bash
pip install -e .[test]
pytest tests/
```