sudoku-tools

A collection of useful tools for generating, grading, solving, and transforming sudoku puzzles


Keywords
python, sudoku
License
MIT
Install
pip install sudoku-tools==0.0.4

Documentation

sudoku-tools

Description

This Python package is a collection of useful tools for generating, grading, solving, and transforming sudoku puzzles.

Installation

With Python installed, simply run the following command to add the package to your project.

pip install sudoku-tools

Usage

The object can be constructed with a 1-dimensional board:

arr_1d = [1, 0, 3, 4, 0, 4, 1, 0, 0, 3, 0, 1, 4, 0, 2, 3]
puzzle = Puzzle(arr_1d, 0)

... or with a 2-dimensional board:

arr_2d = [[1, 0, 3, 4],
	[0, 4, 1, 0],
	[0, 3, 0, 1],
	[4, 0, 2, 3]]
puzzle = Puzzle(arr_2d, 0)

Feel free to check out the docs for more information.

License

This software is released under the terms of MIT license.