Metadata-Version: 2.4
Name: algokit-py
Version: 0.3.0
Summary: A minimal Python algorithms library with clean implementations of search algorithms and sort algorithms
Author: Chanaka Prasanna
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# algokit-py

A lightweight Python algorithms library with clean, well-documented, and tested implementations.
Designed for learning, interviews, and real-world algorithm reasoning.

## Features

### Search Algorithms
- Linear Search
- Binary Search (iterative, invariant-based)

### Sorting Algorithms
- Insertion Sort (in-place, stable)
- Merge Sort (divide-and-conquer, O(n log n))

## Usage

### Install

```python
pip install algokit-py
```

### Search
```python
from algokit_py.search import linear_search, binary_search

print(linear_search([1, 2, 3], 2))
print(binary_search([1, 2, 3], 2))
```

### Sorting
```python
from algokit_py.sort import insertion_sort, merge_sort

data = [3, 1, 2]

insertion_sort(data)
print(data)  # [1, 2, 3]

print(merge_sort([3, 1, 2]))  # [1, 2, 3]
```
