https://github.com/razerm/advent-of-code-2020
https://github.com/razerm/advent-of-code-2020
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/razerm/advent-of-code-2020
- Owner: RazerM
- Created: 2020-12-05T18:14:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-21T18:01:42.000Z (over 4 years ago)
- Last Synced: 2025-01-29T15:35:12.158Z (4 months ago)
- Language: Python
- Size: 109 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-2020
cd advent-of-code-2020
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/
```