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 hashes)
Built Distribution
Close
Hashes for pysortlib-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 720834a78ad1ec61144ed3f743bd8f843455a09e30113e8adf033ea62530aea1 |
|
MD5 | 328e0c52ec58f477ed67f10dc09464fb |
|
BLAKE2b-256 | 4e2b9a081096aaed2366861d1bea6af755b558f05713c5d976fcf65f30021513 |