{"id":22385193,"url":"https://github.com/marstr/pydoku","last_synced_at":"2025-03-26T20:23:55.877Z","repository":{"id":62579967,"uuid":"155758345","full_name":"marstr/pydoku","owner":"marstr","description":"A quick Sudoku solver to start teaching myself python","archived":false,"fork":false,"pushed_at":"2018-11-07T01:07:11.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T15:16:37.783Z","etag":null,"topics":["python","sudoku-solver"],"latest_commit_sha":null,"homepage":null,"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/marstr.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":"2018-11-01T18:28:00.000Z","updated_at":"2018-11-12T17:33:35.000Z","dependencies_parsed_at":"2022-11-03T20:49:56.912Z","dependency_job_id":null,"html_url":"https://github.com/marstr/pydoku","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marstr%2Fpydoku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marstr%2Fpydoku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marstr%2Fpydoku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marstr%2Fpydoku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marstr","download_url":"https://codeload.github.com/marstr/pydoku/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245728789,"owners_count":20662755,"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":["python","sudoku-solver"],"created_at":"2024-12-05T01:22:03.627Z","updated_at":"2025-03-26T20:23:55.856Z","avatar_url":"https://github.com/marstr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pydoku\n\n[![Build Status](https://travis-ci.com/marstr/pydoku.svg?branch=master)](https://travis-ci.com/marstr/pydoku)\n[![Python](https://img.shields.io/pypi/pyversions/pydoku.svg?maxAge=2592000)](https://pypi.python.org/pypi/pydoku)\n\nSudoku is a mathematical game, where one looks to completely fill a board with numbers, where no values are repeated in\nany given row, column, square or square. You can read more about this game on \n[Wikipedia](https://en.wikipedia.org/wiki/Sudoku). The most common variant uses a 9x9 grid segmented into nine\n3x3 squares, with 9 rows and 9 columns. However, the difficulty of the game can be adjusted by changing the size of the \nboard. For instance, you can play an easier game in a 6x6 board where each square has 3 columns and 2 rows.\n\nThis package looks to expose the ability to solve sudoku puzzles with squares of any dimension (given a powerful enough \nmachine!) \n\n## Install\n\n\u003e Minimum supported version of Python: 3.5\n\nEasily install this package using pip!\n\n``` bash\npip install pydoku\n```\n\n## Usage\n\nSolving a default board with a couple of values inserted:\n\n``` Python\nimport pydoku\n\nsubject = pydoku.Board()\nsubject[0][3] = 6\nsubject[0][1] = 1\nprint(subject.solve())\n\n# Output:\n# -------------------------\n# | 2 1 3 | 6 4 5 | 7 8 9 |\n# | 4 5 6 | 7 8 9 | 1 2 3 |\n# | 7 8 9 | 1 2 3 | 4 5 6 |\n# -------------------------\n# | 1 2 4 | 3 5 6 | 8 9 7 |\n# | 3 6 5 | 8 9 7 | 2 1 4 |\n# | 8 9 7 | 2 1 4 | 3 6 5 |\n# -------------------------\n# | 5 3 1 | 4 6 2 | 9 7 8 |\n# | 6 4 2 | 9 7 8 | 5 3 1 |\n# | 9 7 8 | 5 3 1 | 6 4 2 |\n# -------------------------\n```\n\n## Contributing\n\nContributions welcome, if not well monitored. Feel free to send PRs, file issues, etc.\n\n## License\n\nThis library is available under the MIT license, the full text can be found [here](./LICENSE). Basically though, go use \nit however and for whatever you want, just understand that I'm not liable for issues you encounter.\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarstr%2Fpydoku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarstr%2Fpydoku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarstr%2Fpydoku/lists"}