{"id":22785473,"url":"https://github.com/imseanconroy/sudoku-cracker","last_synced_at":"2025-03-30T15:26:36.668Z","repository":{"id":259738204,"uuid":"872108401","full_name":"ImSeanConroy/sudoku-cracker","owner":"ImSeanConroy","description":"Sit back, relax, and let your Sudoku puzzles be solved using brute-force.","archived":false,"fork":false,"pushed_at":"2024-11-09T19:45:14.000Z","size":764,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T17:12:43.519Z","etag":null,"topics":["algorithms","computer-vision","python","recursion"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ImSeanConroy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-13T19:52:05.000Z","updated_at":"2025-02-02T12:33:56.000Z","dependencies_parsed_at":"2024-10-27T18:11:55.843Z","dependency_job_id":"60b6cc4a-57ad-450d-9448-721bcc2f9eb8","html_url":"https://github.com/ImSeanConroy/sudoku-cracker","commit_stats":null,"previous_names":["imseanconroy/sudoku-cracker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImSeanConroy%2Fsudoku-cracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImSeanConroy%2Fsudoku-cracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImSeanConroy%2Fsudoku-cracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImSeanConroy%2Fsudoku-cracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ImSeanConroy","download_url":"https://codeload.github.com/ImSeanConroy/sudoku-cracker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246336934,"owners_count":20761124,"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":["algorithms","computer-vision","python","recursion"],"created_at":"2024-12-11T23:06:22.549Z","updated_at":"2025-03-30T15:26:36.636Z","avatar_url":"https://github.com/ImSeanConroy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sudoku Cracker\n\nSit back, relax, and let your Sudoku puzzles be solved using brute-force. This simple Python CLI tool allows you to input puzzles directly or provide a file path for automatic solving.\n\n![Project Image](https://github.com/ImSeanConroy/sudoku-cracker/blob/main/.github/repo-img.png)\n\n\n## Table of Contents\n\n- [Getting Started](#getting-started)\n- [Usage](#usage)\n- [Development and Testing](#development-and-testing)\n- [License](#license)\n- [Support](#support)\n\n## Getting Started\n\n### Prerequisites\n\nBefore getting started, ensure you have the following installed:\n- [Python](https://www.python.org/)\n\n### Installation\n\nThe following contains instruction for getting this application running locally:\n\n1. Clone the repository.\n```bash\ngit clone https://github.com/ImSeanConroy/sudoku-cracker.git\ncd sudoku-cracker\n```\n\n2. Create and start virtual environment\n```bash\npython3 -m venv env\nsource env/bin/activate\n```\n\n3. Install dependencies\n```bash\npip3 install -r requirements.txt\n```\n\n4. Run script\n```bash\npython main.py --cubes cube1 cube2 cube3 cube4 cube5 cube6 cube7 cube8 cube9\n```\n\n## Usage\n\nThe Sudoku Cracker allows you to input your Sudoku puzzle as 9 groups of 3x3 numbers. Each group represents a 3x3 cube, and the numbers are separated by commas. Use `0` for empty cells.\n\n### Example Input\n\nSolve puzzle from a set of cubes (input directly):\n\n```bash\npython main.py --cubes 003500160 029700005 100000009 049000050 000006010 000250006 000008000 050037000 080002001\n```\n\n### Additional Options\n\nSolve puzzle from a text file where each line represents a row of the puzzle and each number is seperated by a space:\n```bash\npython main.py --file \"examples/example.txt\"\n```\n\nExample file format (example.txt):\n```bash\n0 0 3 0 2 9 1 0 0 \n5 0 0 7 0 0 0 0 0 \n1 6 0 0 0 5 0 0 9 \n0 4 9 0 0 0 0 0 0 \n0 0 0 0 0 6 2 5 0 \n0 5 0 0 1 0 0 0 6 \n0 0 0 0 5 0 0 8 0 \n0 0 8 0 3 7 0 0 2 \n0 0 0 0 0 0 0 0 1\n```\n\nSolve puzzle from a image. Ensure that the image contains only the Sudoku puzzle and is centered and extends as close to the image’s edges as possible for optimal recognition (example.png):\n\n```bash\npython main.py --image \"examples/example.png\"\n```\n\nSolve puzzle from a set of rows (input directly):\n```bash\npython main.py --rows \"...\"\n```\n\nDisable Color Output:\n```bash\npython main.py --cubes \"...\" --no-color\n```\n\nDisable Runtime Display:\n```bash\npython main.py --cubes \"...\" --no-runtime\n```\n\nDisable Column and Row Seperators:\n```bash\npython main.py --cubes \"...\" --no-seperators\n```\n\n## Development and Testing\n\n1. Run the following command to run the full test suit:\n\n```bash\npytest tests/\n```\n\n## License\n\nThis project is Distributed under the MIT License - see the [LICENSE](LICENSE) file for information.\n\n## Support\n\nIf you are having problems, please let me know by [raising a new issue](https://github.com/ImSeanConroy/sudoku-cracker/issues/new/choose).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimseanconroy%2Fsudoku-cracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimseanconroy%2Fsudoku-cracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimseanconroy%2Fsudoku-cracker/lists"}