{ "info": { "author": "Fantomas42", "author_email": "fantomas42@gmail.com", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "======\nSUDOKU\n======\n\nLibrary for solving Sudoku puzzles step by step, in an human manner.\n\nSeveral scripts are provided to solve directly some grids.\n\nScripts\n=======\n\nsudoku_solver\n-------------\n\nUsage: sudoku_indexes [options] source\n\nScript for solving Sudoku puzzles in an human manner, applying\nsome advanced strategies for solving grids.\n\nIf a puzzle cannot be solved with the strategies bundled in the package,\nthe resolution of the puzzle is done by a backtracking method.\n\nUse the ``--nobacktracking`` option to disable the backtracking method.\n\nIncreasing the verbosity level at 3 (``-vvv``) will display step by step\nthe solving process.\n\n\nsudoku_backtrack\n----------------\n\nUsage: sudoku_backtrack [options] source\n\nScript for solving Sudoku puzzles with the backtracking method only.\n\nUse the ``--nopreprocessing`` option to disable the preprocessing methods\napplied to reduces the number of candidates.\n\nThis option is useful on small grids where optimisations are not really\nneeded, but disabling the processings methods on large grid will increase\nthe resolution time.\n\n\nsudoku_indexes\n--------------\n\nUsage: sudoku_indexes\n\nDisplay the cells's indexes of a Sudoku puzzle, like they are used in the\npackage. Very usefull when developing.\n\nGrid files\n==========\n\nThe files handled by the solvers have to respect some rules to be\nprocessed.\n\n#. The grid file should contains only digits and the *free_char*\n character. By default the **free_char** is represented by a dot *'.'*\n\n#. Everything else will be ignored by default\n\n#. A *0* character is the same as the **free_char**.\n\n#. You can put comments on your grids if a line starts with the *#*\n character.\n\n#. If the grid has a size different than 81, the grid file will not be\n considered as valid.\n\nExample 1\n---------\n\n::\n\n 123.56.89578139624496872153952381467641.97835387564291719623548864915372235748916\n\nExample 2\n---------\n\n::\n\n 004000620760100800000000107000901300230406091001302000903000000006005013042000700\n\nExample 3\n---------\n\n::\n\n 1638.5.7.\n ..8.4..65\n ..5..7..8\n 45..82.39\n 3.1....4.\n 7........\n 839.5....\n 6.42..59.\n ....93.81\n\n\nExample 4\n---------\n\n::\n\n 3 2 9 | 4 1 . | 7 . .\n . . . | . . . | 4 . .\n . . 5 | . 2 . | . . .\n ---------------------\n 5 . . | . . . | 3 . 6\n . 6 . | 7 . 3 | . 9 .\n 8 . 7 | . . . | . . 2\n ---------------------\n . . . | . 4 . | 8 . .\n . . 6 | . . . | . . .\n . . 3 | . 7 2 | 9 5 1\n\nTake a look in the ``datas`` folder for more examples.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/Fantomas42/sudoku-solver", "keywords": "sudoku,solver", "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "sudoku-solver", "package_url": "https://pypi.org/project/sudoku-solver/", "platform": "any", "project_url": "https://pypi.org/project/sudoku-solver/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/Fantomas42/sudoku-solver" }, "release_url": "https://pypi.org/project/sudoku-solver/0.2/", "requires_dist": null, "requires_python": null, "summary": "Library and scripts for solving Sudoku puzzles.", "version": "0.2" }, "last_serial": 2718757, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b023c2f32d8634688bbadf34a84dc293", "sha256": "2ac88ec1839c4043d13e10c679fcfeaef3cbb8357a1d084fa42074c940de477f" }, "downloads": -1, "filename": "sudoku-solver-0.1.tar.gz", "has_sig": false, "md5_digest": "b023c2f32d8634688bbadf34a84dc293", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14890, "upload_time": "2011-10-11T19:55:00", "url": "https://files.pythonhosted.org/packages/86/e2/6bc7e6e8b10c2bcf26ff6d7e0fc89f955bd8d64c0a6708abc792d1f94be6/sudoku-solver-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "be7bae3f64edca3f82a6dccce6aec641", "sha256": "1d066e7c536b1acb61b19687af6f4cb9992b94ec9a4cd557de1008ceb41878ab" }, "downloads": -1, "filename": "sudoku_solver-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "be7bae3f64edca3f82a6dccce6aec641", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 24756, "upload_time": "2017-03-20T20:53:50", "url": "https://files.pythonhosted.org/packages/04/93/8f9287f547eda9b1930d9a173ea0a876a3fc3749fa84f9c938b13ff8ae71/sudoku_solver-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "94969b90e8be6b9d086f8dacd9221170", "sha256": "c68d6bc6a349d36494cf5e428ef8a63192eeae2a2b08cff5af29acd655891518" }, "downloads": -1, "filename": "sudoku-solver-0.2.tar.gz", "has_sig": false, "md5_digest": "94969b90e8be6b9d086f8dacd9221170", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14785, "upload_time": "2017-03-20T20:53:47", "url": "https://files.pythonhosted.org/packages/65/6b/1cba561246be959be3829e9571c713eff0406422d21ce8d288b074c1ba74/sudoku-solver-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "be7bae3f64edca3f82a6dccce6aec641", "sha256": "1d066e7c536b1acb61b19687af6f4cb9992b94ec9a4cd557de1008ceb41878ab" }, "downloads": -1, "filename": "sudoku_solver-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "be7bae3f64edca3f82a6dccce6aec641", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 24756, "upload_time": "2017-03-20T20:53:50", "url": "https://files.pythonhosted.org/packages/04/93/8f9287f547eda9b1930d9a173ea0a876a3fc3749fa84f9c938b13ff8ae71/sudoku_solver-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "94969b90e8be6b9d086f8dacd9221170", "sha256": "c68d6bc6a349d36494cf5e428ef8a63192eeae2a2b08cff5af29acd655891518" }, "downloads": -1, "filename": "sudoku-solver-0.2.tar.gz", "has_sig": false, "md5_digest": "94969b90e8be6b9d086f8dacd9221170", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14785, "upload_time": "2017-03-20T20:53:47", "url": "https://files.pythonhosted.org/packages/65/6b/1cba561246be959be3829e9571c713eff0406422d21ce8d288b074c1ba74/sudoku-solver-0.2.tar.gz" } ] }