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
Testing
nox
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-1.0.0.tar.gz
(4.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysortlib-1.0.0.tar.gz.
File metadata
- Download URL: pysortlib-1.0.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.8.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c4941ab89ff9f581c6ea3634b7fb1e4fa58fec19cadc09cce97a87a40de32fd
|
|
| MD5 |
fa121f2baaf17c3021cd7d786278b48f
|
|
| BLAKE2b-256 |
7913d400670a18be6ee9c521de0f58e11ee31fd1dd5053e0d98f31f67f32b18f
|
File details
Details for the file pysortlib-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pysortlib-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.8.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0b407ccc3d247f2e23bbce939da8e25ed88f6db0b61f735aec4f8842d689112
|
|
| MD5 |
23b582cbfb95a1c627d78fc427dc5f33
|
|
| BLAKE2b-256 |
4a63eef8e61d56f70694b3f31592b5d4ba33ee23cf915af053340364e8c2bce0
|