Sort_methods - it`s a python package for list's sorting
Installing
pip install sort_methods
Guide
from sort_methods import sorter
sorter.bubble_sort(object) # bubble-method of sorting, object - list
sorter.selection_sort(object) # selection-method of sorting, object - list
sorter.insertion_sort(object) # insertion-method of sorting, object - list
sorter.heap_sort(object) # heap-method of sorting, object - list
sorter.merge_sort(object) # merge-method of sorting, object - list
All functions, beside merge_sort( ) can sort lists of strings
from sort_methods import sorter
chars = ['e', 'a', 'c', 'b']
sorter.bubble_sort(chars)
sorter.selection_sort(chars)
sorter.insertion_sort(chars)
sorter.heap_sort(chars)
# after any of this operations list 'chars' will be like this: ['a', 'b', 'c', 'e']
Release files for sort-methods 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sort_methods-1.0.0.tar.gz | 2.7 kB | Details |
Release files / sort_methods-1.0.0.tar.gz
| Download URL | sort_methods-1.0.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e63f9a049e26acac8d77a7ecc74702b829ee1ddc993b83a400633e15476aebd9
|
|
BLAKE2b-256 checksum How to use checksums |
ef3f1b242794675841fb09cb0717a3906687c8e6e80d2a88357753f590490b43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|