{"id":22310654,"url":"https://github.com/wbh1/adventofcode","last_synced_at":"2025-03-26T02:12:56.664Z","repository":{"id":210261351,"uuid":"726090901","full_name":"wbh1/adventofcode","owner":"wbh1","description":"2023 (and beyond) Advent of Code solutions","archived":false,"fork":false,"pushed_at":"2024-12-07T13:30:17.000Z","size":458,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T23:28:21.568Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wbh1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-01T14:15:10.000Z","updated_at":"2024-12-07T13:30:21.000Z","dependencies_parsed_at":"2023-12-04T04:22:18.865Z","dependency_job_id":"2042b2ee-e0e0-4310-91f2-a623b2bd8406","html_url":"https://github.com/wbh1/adventofcode","commit_stats":null,"previous_names":["wbh1/adventofcode2023","wbh1/adventofcode"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbh1%2Fadventofcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbh1%2Fadventofcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbh1%2Fadventofcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbh1%2Fadventofcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wbh1","download_url":"https://codeload.github.com/wbh1/adventofcode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245573899,"owners_count":20637674,"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":[],"created_at":"2024-12-03T21:13:59.493Z","updated_at":"2025-03-26T02:12:56.643Z","avatar_url":"https://github.com/wbh1.png","language":"Python","readme":"# Advent of Code 2023-????\n\nI'm using Python because I don't have the time to use Go :(\n\n## Usage\n\nI rely on [uv](https://docs.astral.sh/uv) for my Python projects. Consequently, I use the `aoc.py` script to run solutions like so:\n\n```sh\nuv run aoc.py -y 2023 1\n```\n\n## Inputs\n\nInputs are [SOPS](https://getsops.io/docs/#encrypting-using-age)-encrypted using `age`. To decrypt/encrypt files, I use tasks from [mise](https://mise.jdx.dev/tasks/running-tasks.html). They're documented below:\n\n### `input`\n\n- Depends: input:*\n\n- **Usage**: `mise run input`\n\nEncrypt and decrypt all input files\n\n### `input:decrypt`\n\n- **Usage**: `mise run input:decrypt`\n\nDecrypt all secret files\n\n### `input:encrypt`\n\n- **Usage**: `mise run input:encrypt`\n\nEncrypt all non-secret files\n\n## Testing\n\nI use pytest for validating that my solution matches the expected output from the sample data in each problem. To run a test using a task defined in `mise`:\n\n```console\n❯ mise run test --year 2023 1\n```\n\n## Prior Years\n\nI'm trying to use just 1 repo going forward since I found a structure that works for me and is re-usable across years.\n\nMy prior years are available in other repos:\n\n- [2018](https://github.com/wbh1/advent-of-code2018)\n- [2019](https://github.com/wbh1/adventofcode2019)\n- [2020](https://github.com/wbh1/adventofcode2020)\n- [2021](https://github.com/wbh1/adventofcode2021)\n- [2022](https://github.com/wbh2/adventofcode2022)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwbh1%2Fadventofcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwbh1%2Fadventofcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwbh1%2Fadventofcode/lists"}