semvec/pypi-packages huggingface dataset:
rsr45-sudoku-solver 0.1.2
A command-line Sudoku solver using a backtracking algorithm.
Requires Python: >=3.6

# Sudoku Solver

A command-line Sudoku solver that uses a backtracking algorithm to solve Sudoku puzzles. The project is designed with best practices for code readability, modularity, and testability, and includes containerization for easy portability.

## Features
- Solves incomplete Sudoku puzzles using a backtracking algorithm.
- Accepts Sudoku puzzles in a simple, readable format.
- Prints the solved puzzle in a clear format or indicates if the puzzle is unsolvable.
- Structured project with unit tests, documentation, and containerization for reproducibility.

## Installation

**Clone the Repository**
   ```bash
   git clone https://github.com/yourusername/sudoku-solver.git
   cd sudoku-solver
ksec 0.5.1
Kubernetes secrets pretty printer
Requires Python: >=3.12

![Python Version from PEP 621 TOML](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2Fdusktreader%2Fksec%2Fmain%2Fpyproject.toml)
![PyPI - Version](https://img.shields.io/pypi/v/ksec)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/dusktreader/ksec/qa_on_push.yaml)

# ksec

The `ksec` tool simply decodes secrets from kubectl to make it easier for the user to
view them. It can parse output from kubectl in either JSON or YAML (if you install with
the `yaml` extra).

![asciicast](https://github.com/dusktreader/ksec/blob/main/etc/ksec.gif)


## Quickstart

1. Preferred method with [uv](https://docs.astral.sh/uv/):

```bash
uv tool install ksec
```

2. With pipx:

```bash
pipx install ksec
```

3. With pip:

```bash
pip install ksec
```

## Example usage

```bash
$ kubectl get secret my-secret -o json | ksec
{
  "SOME_ID": "cd31d8f5-9bf7-40a1-aced-a7faddd199ce",
  "SOME_KEY": "17153263835190001925"
}
```


## Getting help

Simply run `ksec --help`:

```
$ ksec --help

 Usage: ksec [OPTIONS] [SEARCH]

 Display decoded kubernetes secrets printed by kubectl.
 Example usage:

 kubectl get secret my-secret -o json | ksec

╭─ Arguments ─────────────────────────────────────────────────────────────────────────────────────╮
│   search      [SEARCH]  Match a named secret data item using fuzzy search [default: None]       │
╰─────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────────────────────────╮
│ --mode                -m      [JSON|YAML]  Set the format that should be processed from stdin.  │
│                                            YAML mode requires installation with the yaml flag.  │
│                                            [default: JSON]                                      │
│ --full                -f                   Include all the metadata for the secrets, not just   │
│                                            the data                                             │
│ --ephemeral           -e                   Show the output in a temporary buffer that will be   │
│                                            cleared upon exit.                                   │
│ --install-completion                       Install completion for the current shell.            │
│ --show-completion                          Show completion for the current shell, to copy it or │
│                                            customize the installation.                          │
│ --help                                     Show this message and exit.                          │
╰─────────────────────────────────────────────────────────────────────────────────────────────────╯
```


## License

Distributed under the MIT License. See `LICENSE` for more information.