Metadata-Version: 2.4
Name: nickpip
Version: 0.1.0
Summary: A Python package that provides algorithm source code as strings.
Author: Nikhil Gupta
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
License-File: LICENSE
Dynamic: license-file

# nickpip

`nickpip` is a small Python package that exposes algorithm implementations as properly formatted source-code strings.

## Usage

```python
import nickpip as np

dp = np.quicksort
print(dp)
```

`dp` is a Python `str` containing the complete Quick Sort implementation with its original indentation.

You can also write it to a file:

```python
with open("quicksort.py", "w", encoding="utf-8") as f:
    f.write(np.quicksort)
```

## Current algorithms

- `np.quicksort`

## Build locally

```bash
python -m pip install --upgrade build
python -m build
python -m pip install dist/nickpip-0.1.0-py3-none-any.whl
```
