sorting algorithms
Project description
Sorting algorithms
- Insert sort
- Bubble sort
- Merge sort
- Selection sort
- Quick sort
- Heap sort
- Counting sort
- Radix 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
print(array)
Development
Virtual environment
pip install --user poetry
poetry config virtualenvs.in-project true
poety shell
poetry install
Pre-commit
pre-commit install --hook-type pre-commit
pre-commit install --hook-type commit-msg
pre-commit autoupdate
Coding standards
- black
- ruff
- mypy
- pytest
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.1.0.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file pysortlib-0.1.0.tar.gz
.
File metadata
- Download URL: pysortlib-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.4 Linux/5.15.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3049467ae4d144b2ca457498a40256aad1f5c297190390d8be3f54ed8469698d |
|
MD5 | cc9562511bd4d4047d18c7a7a4a852df |
|
BLAKE2b-256 | 9fa83b9d01ec99b200d7161814766b7538468f1357a4c1d68d808a16f47fa0be |
File details
Details for the file pysortlib-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pysortlib-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.4 Linux/5.15.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 720834a78ad1ec61144ed3f743bd8f843455a09e30113e8adf033ea62530aea1 |
|
MD5 | 328e0c52ec58f477ed67f10dc09464fb |
|
BLAKE2b-256 | 4e2b9a081096aaed2366861d1bea6af755b558f05713c5d976fcf65f30021513 |