Metadata-Version: 2.4
Name: shansort
Version: 0.1.1
Summary: Shan Sort Algo
Author: Bhavani Shanker
Author-email: bhavanishanker9@proton.me
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: C
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# shansort

## What is Shan Sort?

Shan Sort is a stable and efficient radix sorting algorithm implemented in C. It sorts 64-bit integers by processing their binary digits (bits) in passes, making it faster than traditional comparison-based sorts for large datasets. It also handles negative numbers by offsetting them during sorting.

---

## How to Use

After installing the package, you can import and use the sorting function like this:

```python
from shansort import shan_sort

data = [10, -5, 3, 0, -2]
sorted_data = shan_sort(data)
print(sorted_data)  # Output: [-5, -2, 0, 3, 10]
