Skip to main content

A beautiful Sudoku solver

Project description

XL-Sudoku-Solver

Install

pip install xl-sudoku-solver

Usage

Cmd:

problem1.txt:
9x37xxxx1
xxx6xx5xx
x4xxx1xxx
xxx36x2xx
8xxxxxxx4
xx6x97xxx
xxx5xxx2x
xx7xx3xxx
3xxxx28x9
$ xl-sudoku-solver --time -f problem1.txt
+-----------+-----------+-----------+
| 9 ! 5 ! 3 | 7 ! 2 ! 4 | 6 ! 8 ! 1 |
| 7 ! 8 ! 1 | 6 ! 3 ! 9 | 5 ! 4 ! 2 |
| 6 ! 4 ! 2 | 8 ! 5 ! 1 | 9 ! 3 ! 7 |
+-----------+-----------+-----------+
| 1 ! 7 ! 4 | 3 ! 6 ! 8 | 2 ! 9 ! 5 |
| 8 ! 3 ! 9 | 2 ! 1 ! 5 | 7 ! 6 ! 4 |
| 5 ! 2 ! 6 | 4 ! 9 ! 7 | 3 ! 1 ! 8 |
+-----------+-----------+-----------+
| 4 ! 9 ! 8 | 5 ! 7 ! 6 | 1 ! 2 ! 3 |
| 2 ! 1 ! 7 | 9 ! 8 ! 3 | 4 ! 5 ! 6 |
| 3 ! 6 ! 5 | 1 ! 4 ! 2 | 8 ! 7 ! 9 |
+-----------+-----------+-----------+
Cost: 0.171875s

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xl-sudoku-solver-0.0.1.post3.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file xl-sudoku-solver-0.0.1.post3.tar.gz.

File metadata

  • Download URL: xl-sudoku-solver-0.0.1.post3.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.2

File hashes

Hashes for xl-sudoku-solver-0.0.1.post3.tar.gz
Algorithm Hash digest
SHA256 162ccf35cbe83338b9fee7481de5dc04c2528f7ceda0206f12b7d3985aa1d421
MD5 66bf8cfa695ce16fb24df491c370a331
BLAKE2b-256 126544ce4540cfb610ed78e27aa26831b14cb75d128de1787a3b96f483bf32ab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page