{"id":26578191,"url":"https://github.com/binbash23/sudoku","last_synced_at":"2025-08-30T06:44:55.260Z","repository":{"id":258564456,"uuid":"858404746","full_name":"binbash23/sudoku","owner":"binbash23","description":"A python script to solve any sudoku.","archived":false,"fork":false,"pushed_at":"2025-01-01T19:42:32.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-27T01:58:48.706Z","etag":null,"topics":["python","sudoku"],"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/binbash23.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-09-16T20:49:00.000Z","updated_at":"2025-01-01T19:42:35.000Z","dependencies_parsed_at":"2024-10-19T15:32:59.442Z","dependency_job_id":"eef4b91b-ccc0-4242-bcc0-9f8ca9dc6470","html_url":"https://github.com/binbash23/sudoku","commit_stats":null,"previous_names":["binbash23/sudoku"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/binbash23/sudoku","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbash23%2Fsudoku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbash23%2Fsudoku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbash23%2Fsudoku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbash23%2Fsudoku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binbash23","download_url":"https://codeload.github.com/binbash23/sudoku/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbash23%2Fsudoku/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272815816,"owners_count":24997661,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["python","sudoku"],"created_at":"2025-03-23T04:28:05.930Z","updated_at":"2025-08-30T06:44:55.226Z","avatar_url":"https://github.com/binbash23.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sudoku\nThis is a fun project for playing around with the sudoku game.\n\n# Howto run it\nFirst create a text file with your sudoku matrix you want to resolve:\n```\n$ cat 001_sudoku.txt\n# Sudoku\n0,0,0,8,3,0,0,5,7\n0,0,8,5,0,0,6,0,0\n1,3,0,0,0,2,0,8,0\n8,0,2,3,9,0,7,0,0\n6,0,0,1,0,0,0,3,2\n0,5,7,2,0,4,0,9,0\n0,6,0,4,1,0,3,7,0\n0,7,3,9,0,8,0,6,0\n0,0,0,7,6,0,4,0,0\n```\nThe sudoku file is expected to have one header line and all numbers seperated by comma (',').\n\nNow run the sudoku.py program\n```\npython sudoku.py -f 001_sudoku.txt\n```\nThe program will try through all possible varations and will hopefully come to a result like this:\n```\n     C1 C2 C3 C4 C5 C6 C7 C8 C9\n\n R1   9  4  6  8  3  1  2  5  7  \n R2   7  2  8  5  4  9  6  1  3  \n R3   1  3  5  6  7  2  9  8  4  \n R4   8  1  2  3  9  6  7  4  5  \n R5   6  9  4  1  5  7  8  3  2  \n R6   3  5  7  2  8  4  1  9  6  \n R7   2  6  9  4  1  5  3  7  8  \n R8   4  7  3  9  2  8  5  6  1  \n R9   5  8  1  7  6  3  4  2  9  \n\n== Analyzing ==\n\nSudoku is solved                 : True\nSudoku is deadlocked             : False\nFound duplicates in rows         : False\nFound duplicates in columns      : False\nSolved positions                 : 81 / 81\nUnsolved positions               : 0\nMin unsolved positions           : 0\nSave predicable positions        : 0\nBranch points                    : 1\nCurrent depth                    : 1\nMax depth                        : 1\nIteration from latest branch     : 6\nIteration in total               : 6\n\nOperation stopped.\n\nRuntime       : 0:00:00.249702\nBranch points : 1\nIterations    : 6\n\n*** Bingo! Sudoku is solved. ***\n```\n\nIf you want to create a binary of the python code, try this:\n```\n$ pyinstaller sudoku.py --onefile --clean\n```\nThe pyinstaller will create a binary in the folder \"dist\" for you.\n\nHappy coding, Jens\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinbash23%2Fsudoku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinbash23%2Fsudoku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinbash23%2Fsudoku/lists"}