https://github.com/billwallis/advent-of-code
Solutions to the Advent of Code problem sets.
https://github.com/billwallis/advent-of-code
python
Last synced: 10 months ago
JSON representation
Solutions to the Advent of Code problem sets.
- Host: GitHub
- URL: https://github.com/billwallis/advent-of-code
- Owner: Bilbottom
- Created: 2022-12-01T19:32:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-06T21:31:28.000Z (over 1 year ago)
- Last Synced: 2025-01-06T22:30:48.030Z (over 1 year ago)
- Topics: python
- Language: Python
- Homepage:
- Size: 447 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://www.python.org/downloads/)
[](https://github.com/astral-sh/uv)
[](https://github.com/billwallis/advent-of-code/actions/workflows/tests.yaml)
[](https://github.com/astral-sh/ruff)
[](https://results.pre-commit.ci/latest/github/billwallis/advent-of-code/main)
[](https://shields.io/badges/git-hub-last-commit)
---
# Advent of Code
Solutions to the Advent of Code problem sets, available at:
- [https://adventofcode.com/](https://adventofcode.com/)
This is just an opportunity for me to work on my OOP, so the solutions are not optimal.
## Quick start
This project uses:
- [uv](https://docs.astral.sh/uv/getting-started/installation/) for package management
- [pre-commit](https://pre-commit.com/) for linting
- [arguably](https://treykeown.github.io/arguably/) for the CLI
```shell
# Setup
uv sync --all-groups
pre-commit install --with-hooks
# Use the CLI
aoc --help
```
Create an `.env` file with the session cookie you get from Advent of Code:
```
AOC_SESSION_COOKIE="session=..."
```
You can find the session cookie in your browser's developer tools after logging in to Advent of Code.