Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erictleung/advent
:snowflake: My solutions for the Advent of Code
https://github.com/erictleung/advent
advent-of-code coding-challenge python
Last synced: 17 days ago
JSON representation
:snowflake: My solutions for the Advent of Code
- Host: GitHub
- URL: https://github.com/erictleung/advent
- Owner: erictleung
- Created: 2017-12-01T08:13:34.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-08-06T17:53:36.000Z (5 months ago)
- Last Synced: 2024-08-06T21:27:03.886Z (5 months ago)
- Topics: advent-of-code, coding-challenge, python
- Language: Python
- Homepage: http://adventofcode.com/
- Size: 64.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# advent
My solutions for the [Advent of Code](https://adventofcode.com/) problems.
**Table of Contents**
- [Prerequisites](#prerequisites)
- [Conventions](#conventions)
- [Installation](#installation)
- [Running Solutions](#running-solutions)
- [Testing](#testing)## Prerequisites
- Python 3 (https://www.python.org/)
## Conventions
My solutions aim to have minimal package dependencies and aim to adhere to PEP8
using the [`pycodestyle`](https://github.com/pycqa/pycodestyle) style checker.## Installation
```bash
git clone https://github.com/erictleung/advent.git
cd advent
python setup.py install
```## Running Solutions
Here is an example solution run.
```bash
cd advent
python advent2015/not_quite_lisp.py data/2015_day1.txt
```The data is saved and run through as a command line interface.
## Testing
```bash
git clone https://github.com/erictleung/advent.git
cd advent
python -m unittest
python -m unittest -v # See tests being run
```