https://github.com/razerm/advent-of-code-2019
https://github.com/razerm/advent-of-code-2019
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/razerm/advent-of-code-2019
- Owner: RazerM
- Created: 2019-12-06T19:24:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-11T18:57:31.000Z (about 6 years ago)
- Last Synced: 2025-01-29T15:35:11.343Z (11 months ago)
- Language: Python
- Size: 43 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-2019
cd advent-of-code-2019
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/
```