Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicholasdly/aoc
My Advent of Code solutions! 🎄
https://github.com/nicholasdly/aoc
advent-of-code
Last synced: about 1 month ago
JSON representation
My Advent of Code solutions! 🎄
- Host: GitHub
- URL: https://github.com/nicholasdly/aoc
- Owner: nicholasdly
- License: mit
- Created: 2022-12-01T21:37:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-06T00:24:59.000Z (3 months ago)
- Last Synced: 2025-01-11T02:59:42.870Z (about 1 month ago)
- Language: Python
- Homepage: https://adventofcode.com
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aoc
My solutions to the [Advent of Code](https://adventofcode.com/) challenges.
## Getting Started
1. Download and install uv:
```bash
brew install uv
```## Usage
To run a specific solution, run the associated script:
```bash
uv run ./[YEAR]/[DAY]/solution.py
```> [!note]
> The puzzle text and input files are not included, and are actually added to the `.gitignore`, by request of Eric Wastl, the creator of Advent of Code. You can easily retrieve them for yourself from the Advent of Code website.
> > "If you're posting a code repository somewhere, please don't include parts of Advent of Code like the puzzle text or your inputs."To run ruff, the linter and formatter, use the following command:
```bash
uvx ruff format
```To create a new script, run the following command:
```bash
uv init ./[YEAR]/[DAY]/solution.py --script
```## License
This project is open source and available under the [MIT License](LICENSE).