{"id":16520928,"url":"https://github.com/jhrcook/advent-of-code_2022","last_synced_at":"2026-06-05T18:31:07.590Z","repository":{"id":64560621,"uuid":"569759130","full_name":"jhrcook/advent-of-code_2022","owner":"jhrcook","description":"My solutions to Advent of Code 2022 (in Python).","archived":false,"fork":false,"pushed_at":"2022-12-27T14:19:31.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T11:50:14.974Z","etag":null,"topics":["advent-of-code","advent-of-code-2022","advent-of-code-2022-python","python"],"latest_commit_sha":null,"homepage":"https://adventofcode.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhrcook.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-23T14:50:29.000Z","updated_at":"2022-12-24T04:03:47.000Z","dependencies_parsed_at":"2023-01-31T03:32:40.308Z","dependency_job_id":null,"html_url":"https://github.com/jhrcook/advent-of-code_2022","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fadvent-of-code_2022","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fadvent-of-code_2022/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fadvent-of-code_2022/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhrcook%2Fadvent-of-code_2022/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhrcook","download_url":"https://codeload.github.com/jhrcook/advent-of-code_2022/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241592151,"owners_count":19987311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advent-of-code","advent-of-code-2022","advent-of-code-2022-python","python"],"created_at":"2024-10-11T16:53:43.982Z","updated_at":"2025-03-03T01:16:06.207Z","avatar_url":"https://github.com/jhrcook.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2022\n\n**My solutions to the [Advent of Code 2022](https://adventofcode.com/2022) using Python.**\n\n[![advent-of-code](https://img.shields.io/badge/Advent_of_Code-2022-F80046.svg?style=flat)](https://adventofcode.com)\n[![python](https://img.shields.io/badge/Python-3.10-3776AB.svg?style=flat\u0026logo=python\u0026logoColor=FFD23F)](https://www.python.org)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)\n[![pydocstyle](https://img.shields.io/badge/pydocstyle-enabled-AD4CD3)](http://www.pydocstyle.org/en/stable/)\n\n| Day | Code                                                               | Stars |\n| ---:| ------------------------------------------------------------------ | ----- |\n| 1   | [advent_of_code/puzzles/day01.py](advent_of_code/puzzles/day01.py) | ⭐️⭐️   |\n| 2   | [advent_of_code/puzzles/day02.py](advent_of_code/puzzles/day02.py) | ⭐️⭐️   |\n| 3   | [advent_of_code/puzzles/day03.py](advent_of_code/puzzles/day03.py) | ⭐️⭐️   |\n| 4   | [advent_of_code/puzzles/day04.py](advent_of_code/puzzles/day04.py) | ⭐️⭐️   |\n| 5   | [advent_of_code/puzzles/day05.py](advent_of_code/puzzles/day05.py) | ⭐️⭐️   |\n| 6   | [advent_of_code/puzzles/day06.py](advent_of_code/puzzles/day06.py) | ⭐️⭐️   |\n| 7   | [advent_of_code/puzzles/day07.py](advent_of_code/puzzles/day07.py) | ⭐️⭐️   |\n| 8   | [advent_of_code/puzzles/day08.py](advent_of_code/puzzles/day08.py) | ⭐️⭐️   |\n| 9   | [advent_of_code/puzzles/day09.py](advent_of_code/puzzles/day09.py) | ⭐️⭐️   |\n| 10  | [advent_of_code/puzzles/day10.py](advent_of_code/puzzles/day10.py) | ⭐️⭐️   |\n| 11  | [advent_of_code/puzzles/day11.py](advent_of_code/puzzles/day11.py) | ⭐️    |\n| 12  | [advent_of_code/puzzles/day12.py](advent_of_code/puzzles/day12.py) | ⭐️⭐️   |\n| 13  | [advent_of_code/puzzles/day13.py](advent_of_code/puzzles/day13.py) | ⭐️⭐️   |\n| 14  | [advent_of_code/puzzles/day14.py](advent_of_code/puzzles/day14.py) | ⭐️⭐️   |\n| 15  | [advent_of_code/puzzles/day15.py](advent_of_code/puzzles/day15.py) | ⭐️⭐️   |\n| 16  | [advent_of_code/puzzles/day16.py](advent_of_code/puzzles/day16.py) | ⭐️⭐️   |\n\u003c!-- | 17  | [advent_of_code/puzzles/day17.py](advent_of_code/puzzles/day17.py) | ⭐️⭐️   | --\u003e\n\u003c!-- | 18  | [advent_of_code/puzzles/day18.py](advent_of_code/puzzles/day18.py) | ⭐️⭐️   | --\u003e\n\u003c!-- | 19  | [advent_of_code/puzzles/day19.py](advent_of_code/puzzles/day19.py) | ⭐️⭐️   | --\u003e\n\u003c!-- | 20  | [advent_of_code/puzzles/day20.py](advent_of_code/puzzles/day20.py) | ⭐️⭐️   | --\u003e\n\u003c!-- | 21  | [advent_of_code/puzzles/day21.py](advent_of_code/puzzles/day21.py) | ⭐️⭐️   | --\u003e\n\u003c!-- | 22  | [advent_of_code/puzzles/day22.py](advent_of_code/puzzles/day22.py) | ⭐️⭐️   | --\u003e\n\u003c!-- | 23  | [advent_of_code/puzzles/day23.py](advent_of_code/puzzles/day23.py) | ⭐️⭐️   | --\u003e\n\u003c!-- | 24  | [advent_of_code/puzzles/day24.py](advent_of_code/puzzles/day24.py) | ⭐️⭐️   | --\u003e\n\n## Setup\n\nCreate a python virtual environment and activate it before continuing.\n\n```bash\npython3 -m venv .env\nsource .env/bin/activate\n```\n\nThis code can be installed as an editable package using pip\n\n```bash\npip install -e .\n```\n\nor flit (if actively developing)\n\n```bash\nflit install -s\n```\n\n## Run the code\n\nThe puzzles can be run using the command `aoc`.\nProviding a day will result in the execution of just that day's puzzles.\n\n```bash\nsource .env/bin/activate\n# To run all puzzles:\naoc\n# To run just day 1's puzzles:\naoc --day 1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhrcook%2Fadvent-of-code_2022","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhrcook%2Fadvent-of-code_2022","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhrcook%2Fadvent-of-code_2022/lists"}