Metadata-Version: 2.4
Name: skl-core
Version: 1.0.0
Summary: Standard Knowledge & Algorithm Library: search, CSP, game theory, heuristics, and utilities.
Author: SKL Developers
License-Expression: MIT
Keywords: algorithms,search,bfs,dfs,astar,minimax,csp,backtracking,puzzle,utilities
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# SKL (Standard Knowledge & Algorithm Library)

A lightweight Python library providing clean, minimal implementations of standard computer science algorithms, search heuristics, constraint satisfaction problems, and data utilities.

---

## 📦 Installation

```bash
pip install skl
```

---

## 🚀 CLI Usage

Access algorithms and code snippets directly from the terminal:

```bash
# Interactive menu
skl

# Print & copy 4-Queens solver
skl 4queen

# Print & copy 8-Puzzle solver
skl 8puzzle

# Print & copy Inventory management
skl lib

# Graph traversal (BFS & DFS)
skl bfs

# Pathfinding (A* search)
skl astar

# Dump all algorithm scripts to the current directory
skl saveall
```

---

## ⚡ Direct Code Execution & Clipboard

- **Automatic Clipboard Copy**: Every query automatically copies the compact code directly to your system clipboard (press `Ctrl + V` to paste into any editor).
- **Run on Demand**:
  ```bash
  skl 4queen --run
  skl 8puzzle --run
  skl astar --run
  ```

---

## 🐍 Python Import API

```python
import skl

# Execute algorithm
skl.run("4queen")
skl.run("8puzzle")

# Retrieve raw code string
snippet = skl.code("lib")
print(snippet)

# Copy to clipboard
skl.copy("astar")

# Save all files locally
skl.save_all("./scripts")
```

---

## 📄 License
MIT
