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.0.tar.gz
(5.0 kB
view details)
Built Distribution
File details
Details for the file pysortlib-0.5.0.tar.gz
.
File metadata
- Download URL: pysortlib-0.5.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c83b62328f75f3dd4a8c5ff18dbbdb78ab435cf1593a8ace7c3d28b08c7095ee |
|
MD5 | d266365a7eeebab96efb62f281611626 |
|
BLAKE2b-256 | 0f5d48c40fda8ff720c26e5994d7ab41a6b5951adcdfabceef0245ebe18fc95d |
File details
Details for the file pysortlib-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: pysortlib-0.5.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d0c66bd88771df3a0f561b5b9cebb35ed7723c4fa3d91e1cccd1bf81c5b6a59 |
|
MD5 | 96c115c6743de77511b48d0b1e71dcd4 |
|
BLAKE2b-256 | ddb53f988ba3529769805b7766684b45462dccf32080db0d68913f8106f0ff29 |