semvec/pypi-packages huggingface dataset:
sudoku-create 0.0.1
A Python package to create a pair of solve and unsolve sudoku.
License: MIT
Requires Python: >=3


A Python Package To Create A Pair Of Solve And Unsolve Sudoku.

# Usage
Import Sudoku In You Code As
```python
from sudoku import *
```
There Are Two Method.
1. create()
2. display()

## 1. create()
Method `create()` Take **level** As A Input Parameter.
**level** Should As
* easy
* medium
* hard
* extreme

And Return A Two Variable **Unsolve Sudoku** And **Solve Sudoku**
```python
Puzzle, Solution = create('easy')
print(Puzzle)
```
```python
[[0, 3, 0, 6, 5, 1, 0, 4, 7],
 [6, 0, 1, 2, 4, 0, 9, 3, 0],
 [2, 4, 7, 9, 3, 8, 0, 0, 0],
 [0, 9, 3, 0, 6, 0, 1, 2, 4],
 [0, 6, 5, 1, 0, 0, 7, 9, 3],
 [1, 2, 4, 0, 9, 3, 0, 0, 5],
 [4, 0, 9, 3, 0, 6, 5, 1, 0],
 [0, 8, 6, 0, 1, 2, 4, 0, 9],
 [5, 1, 0, 4, 7, 9, 0, 8, 0]]
```
```python
print(Solution)
```
```python
[[9, 3, 8, 6, 5, 1, 2, 4, 7],
 [6, 5, 1, 2, 4, 7, 9, 3, 8],
 [2, 4, 7, 9, 3, 8, 6, 5, 1],
 [7, 9, 3, 8, 6, 5, 1, 2, 4],
 [8, 6, 5, 1, 2, 4, 7, 9, 3],
 [1, 2, 4, 7, 9, 3, 8, 6, 5],
 [4, 7, 9, 3, 8, 6, 5, 1, 2],
 [3, 8, 6, 5, 1, 2, 4, 7, 9],
 [5, 1, 2, 4, 7, 9, 3, 8, 6]]
```

Here **Puzzle** Is Unsolve Sudoku In Form Of Matrix. And **Solution** Is Solve Sudoku Of Puzzle.

## 2. display()
Method `display()` Take **Sudoku** As A Input Parameter. Which Chould Be Solve Or Unsolve.
Display **Puzzle**
```python
display(Puzzle)
```
Output:
```python
* -  -  -  | -  -  -  | -  -  -  *

| 0  3  0  | 6  5  1  | 0  4  7  |

| 6  0  1  | 2  4  0  | 9  3  0  |

| 2  4  7  | 9  3  8  | 0  0  0  |

| -  -  -  | -  -  -  | -  -  -  |

| 0  9  3  | 0  6  0  | 1  2  4  |

| 0  6  5  | 1  0  0  | 7  9  3  |

| 1  2  4  | 0  9  3  | 0  0  5  |

| -  -  -  | -  -  -  | -  -  -  |

| 4  0  9  | 3  0  6  | 5  1  0  |

| 0  8  6  | 0  1  2  | 4  0  9  |

| 5  1  0  | 4  7  9  | 0  8  0  |

* -  -  -  | -  -  -  | -  -  -  *
```

Display **Solution**
```python
display(Solution)
```
Output
```python
* -  -  -  | -  -  -  | -  -  -  *

| 9  3  8  | 6  5  1  | 2  4  7  |

| 6  5  1  | 2  4  7  | 9  3  8  |

| 2  4  7  | 9  3  8  | 6  5  1  |

| -  -  -  | -  -  -  | -  -  -  |

| 7  9  3  | 8  6  5  | 1  2  4  |

| 8  6  5  | 1  2  4  | 7  9  3  |

| 1  2  4  | 7  9  3  | 8  6  5  |

| -  -  -  | -  -  -  | -  -  -  |

| 4  7  9  | 3  8  6  | 5  1  2  |

| 3  8  6  | 5  1  2  | 4  7  9  |

| 5  1  2  | 4  7  9  | 3  8  6  |

* -  -  -  | -  -  -  | -  -  -  *
```

**Source Code** [Github](https://github.com/kush-savani/Sudoku.git)
flask-pwa 0.1.0
Extends your Flask app into a PWA.
License: MIT
Requires Python: >=3.6,<4.0
Keywords: flask + pwa,flask-pwa,pwa

# Flask-PWA

![Python package](https://github.com/pacotei/flask-pwa/workflows/Python%20package/badge.svg)

A extension to give a PWA experience into your Flask web application.
This extension provide some files to give your app some PWA experience like app installation, cached files and offline page.

### Requires:
 - Flask
 - Jinja

### Installation:
To use Flask-PWA extension in your project you need to install it with pip.

```bash
pip install flask-pwa
```

### How it works
Flask-PWA provide some configuration files into your app: ```manifest.json```, ```sw.js```, ```offline.html``` and ```icons```, to deliver best PWA experience.  
PWA use this files to configure the minimum environment to works.