Python Sorting Library
Project description
Python Sorting Library
Library of sorting algorithms with precise implementation and documentation.
Algorithms
- Bubble sort
- Counting sort
- Cycle sort
- Heap sort
- Insert sort
- Merge sort
- Pancake sort
- Quick sort
- Radix sort
- Selection sort
- Shell sort
- Sleep sort
Install
pip install pysortlib
Usage
from pysortlib import insert_sort
array = [3, 5, 2, 1, 7, 4, 6]
insert_sort(array) # set a breakpoint and explore \o/
print(array)
Development
Virtual environment
pip install --user poetry
poetry config virtualenvs.in-project true
poety shell
poetry install
Dependencies
poetry update
Pre-commit
pre-commit clean
pre-commit install --hook-type pre-commit
Coding standards
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysortlib-0.5.2.tar.gz
(5.0 kB
view details)
Built Distribution
File details
Details for the file pysortlib-0.5.2.tar.gz
.
File metadata
- Download URL: pysortlib-0.5.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 870d8c434e54807c0f4d456351b2d080650bce3cdf05f281d446f0f50cf515e1 |
|
MD5 | d77c6a25084b62c09c6437ff7ce9b858 |
|
BLAKE2b-256 | fe0bd03f04d8e6b03811e84b8a1e10b74245bbb00e804900dee41dba3cb1722f |
File details
Details for the file pysortlib-0.5.2-py3-none-any.whl
.
File metadata
- Download URL: pysortlib-0.5.2-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b22337f9d9b2289f5b5af27cd93a74dac92a4c1b51b81e4d2cbda29e47bc023 |
|
MD5 | b70aad7e57e5287a0a47323dce05f8f9 |
|
BLAKE2b-256 | c5355bf0c4a52a5ce03de41a2df054ffb3f41c7e26972a35de72630f33fd5c9c |