# sudoku
## code: mzsudoku.py
In oposite to other sudoku modules this one gives to you a possibility solve step by step. So instead of just see the result you can f.e. find all possibilities and then continue in manual work.
usage: python mzsudoku.py 81-characters options
81-characters - 1..9 or 0 for unknown
options (any combination of p, n, r, a|A, = ; default is: pnr) - p print possibilities as table - n find hidden n-combinations - r find solution and print result - a apply known and run next cycle after pressing Enter - A apply known and run next cycle immediately - = show fixed numbers in p table (otherwise they are left blank)
r option: from http://freepythontips.wordpress.com/2013/09/01/sudoku-solver-in-python/
r option will return - first result only if there are more solutions - nothing if there is no solution
### example python mzsudoku.py 020080700….. pnra=
means: - write all (pnr), - apply known and continue after Enter (a), - show already fixed numbers (=)
- TODO: at this time a|A can only set naked single numbers (from possibilities table);
we need to implement more from - naked n-combinations (p section) - such numbers can be removed from other positions in line/column/block - hidden placing of single number (r section) - such number is sure
Info: There are puzzles, which cannot be solved by finding of naked/hidden n-combinations. In such case (and in more cases while a|A doesn’t implement all knowledge - see TODO) code will finish before solution.
Info: If a|A iterations will not lead to the solution, you can change the starting command to use more knowledges (see TODO) or to try some fork, f.e. if in ‘0’ position you have possibilities (2,5) you can try: ‘2’->’0’ and later ‘5’->’0’.
## text in czech language:
cz: Návod, jak úspěšně vyluštit jakékoli klasické Sudoku.
en: How to find solution for Sudoku game. Full description in czech language.
Metadata
Release files for mzsudoku 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mzsudoku-1.0.0.zip | 9.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mzsudoku-1.0.0-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 26.6 kB
Release files / mzsudoku-1.0.0.zip
| Download URL | mzsudoku-1.0.0.zip |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
925ba648ecb9dcadc7ed6832851565be7dc2d2c052b1bb8c1523f1ad238bcfa7
|
|
BLAKE2b-256 checksum How to use checksums |
8fcad12be3b8690d9fb36fa4ec0264e48fa350516afbd6fa4016b081da167cee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / mzsudoku-1.0.0-py2.7.egg
| Download URL | mzsudoku-1.0.0-py2.7.egg |
|---|---|
| Size | 16.7 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
93fcc3d7cde9069ecf61db0549577486eeaa03f4b26b4b91e0498d237bf7f2c0
|
|
BLAKE2b-256 checksum How to use checksums |
ed385f192e6034eedd37cc97a1df601aafd4ee01c51e0d001fea2c842f508ffa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mzsudoku 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.