# simuth
A simple Python package built while bored.
Currently contains only basic sorts, will do more as I progress more :D
---
## Installation
You can install from PyPI:
```bash
pip install simuth
```
## Usage
After installing, import the `Sorting` class and call any method.
```python
from simuth import Sorting
arr = [5, 3, 8, 4, 2]
print(Sorting.bubble_sort(arr))
print(Sorting.quick_sort_lomuto(arr))
# Special Dutch National Flag (only for 0s, 1s and 2s)
colors = [2, 0, 1, 2, 0, 0]
print(Sorting.dutch_national_flag(colors))
```
## Currently available algorithms
1. Bubble Sort
2. Selection Sort
3. Insertion Sort
4. Merge Sort
5. Quick Sort (Lomuto and Hoare)
6. Dutch National Flag Algorithm
7. An Easter Egg
## License
This project is licensed under the [MIT License](LICENSE)
Raw data
{
"_id": null,
"home_page": null,
"name": "simuth",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "sorting, algorithms, bubble sort, quick sort, merge sort, heap sort",
"author": "traxhcxn",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/ce/77/afd11fa7deba1919d0f878db515a64d6e633a7091e25ec3804e652acba1f/simuth-0.1.0.tar.gz",
"platform": null,
"description": "# simuth\r\n\r\nA simple Python package built while bored.\r\nCurrently contains only basic sorts, will do more as I progress more :D\r\n\r\n---\r\n\r\n## Installation\r\n\r\nYou can install from PyPI:\r\n\r\n```bash\r\npip install simuth\r\n```\r\n\r\n## Usage\r\nAfter installing, import the `Sorting` class and call any method.\r\n\r\n```python\r\nfrom simuth import Sorting\r\n\r\narr = [5, 3, 8, 4, 2]\r\n\r\nprint(Sorting.bubble_sort(arr))\r\nprint(Sorting.quick_sort_lomuto(arr))\r\n\r\n# Special Dutch National Flag (only for 0s, 1s and 2s)\r\ncolors = [2, 0, 1, 2, 0, 0]\r\nprint(Sorting.dutch_national_flag(colors)) \r\n```\r\n\r\n## Currently available algorithms\r\n1. Bubble Sort\r\n2. Selection Sort\r\n3. Insertion Sort\r\n4. Merge Sort\r\n5. Quick Sort (Lomuto and Hoare)\r\n6. Dutch National Flag Algorithm\r\n7. An Easter Egg\r\n\r\n## License\r\nThis project is licensed under the [MIT License](LICENSE)\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Collection of sorting algorithms in Python I did while I was bored",
"version": "0.1.0",
"project_urls": null,
"split_keywords": [
"sorting",
" algorithms",
" bubble sort",
" quick sort",
" merge sort",
" heap sort"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "24d8c15d0bc048d78bd3f599ed9312a62eb59c17f6852b6943ccd2270efd8bd2",
"md5": "9c052817cd1d1f216fd71a582b438ce7",
"sha256": "928b659e558802111b665382bd3cb67d4319485c1643b5a53e28406936bc04d4"
},
"downloads": -1,
"filename": "simuth-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9c052817cd1d1f216fd71a582b438ce7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 3725,
"upload_time": "2025-08-28T10:45:25",
"upload_time_iso_8601": "2025-08-28T10:45:25.062824Z",
"url": "https://files.pythonhosted.org/packages/24/d8/c15d0bc048d78bd3f599ed9312a62eb59c17f6852b6943ccd2270efd8bd2/simuth-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ce77afd11fa7deba1919d0f878db515a64d6e633a7091e25ec3804e652acba1f",
"md5": "5d06bc4161a6b34732d330139f9af706",
"sha256": "3061ec2c95b86932c3a6215f85a6175e9d4e3dfd34713c43bdbee46649938332"
},
"downloads": -1,
"filename": "simuth-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "5d06bc4161a6b34732d330139f9af706",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 3312,
"upload_time": "2025-08-28T10:45:26",
"upload_time_iso_8601": "2025-08-28T10:45:26.707580Z",
"url": "https://files.pythonhosted.org/packages/ce/77/afd11fa7deba1919d0f878db515a64d6e633a7091e25ec3804e652acba1f/simuth-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-28 10:45:26",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "simuth"
}