a library for lazy people who are too lazy to write their own sorting
there are sorting:
import arSort
array = [0, 6, 8, 4]
sort = arSort.Sort(array)
print(sort.bubbleSort("<")) #bubble sorting from smaller to larger
print(sort.bubbleSort(">")) #bubble sorting of more to less
input:
[0, 4, 6, 8]
[8, 6, 4, 0]
import arSort
array = [0, 6, 8, 4]
sort = arSort.Sort(array)
print(sort.shakerSort("<")) #sorting the shaker from smaller to larger
print(sort.shakerSort(">")) #sorting the shaker from bigger to smaller
input:
[0, 4, 6, 8]
[8, 6, 4, 0]
import arSort
array = [0, 6, 8, 4]
sort = arSort.Sort(array)
print(sort.hairbrushSort("<")) #sorting with a comb from smaller to larger
print(sort.hairbrushSort(">")) #sorting with a comb from more to less
input:
[0, 4, 6, 8]
[8, 6, 4, 0]
import arSort
array = [0, 6, 8, 4]
sort = arSort.Sort(array)
print(sort.insertsSort("<")) #sorting by inserts from smaller to larger
print(sort.insertsSort(">")) #sorting by inserts from larger to smaller
input:
[0, 4, 6, 8]
[8, 6, 4, 0]
import arSort
array = [0, 6, 8, 4]
sort = arSort.Sort(array)
print(sort.dwarvesSort("<")) #sorting dwarves from smaller to larger
print(sort.dwarvesSort(">")) #sorting dwarves from bigger to smaller
input:
[0, 4, 6, 8]
[8, 6, 4, 0]
import arSort
array = [0, 6, 8, 4]
sort = arSort.Sort(array)
#we strongly advise against doing this,
#because the worst indicator of the time of this sorting is infinity of seconds.
print(sort.bogoSort("<")) #sorting the bongo clown from smaller to larger
print(sort.bogoSort(">")) #sorting the bongo clown from bigger to smaller
input:
[0, 4, 6, 8]
[8, 6, 4, 0]
Metadata
Release files for arSort 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arSort-0.1.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arSort-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.8 kB
Release files / arSort-0.1.tar.gz
| Download URL | arSort-0.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f981ffe91931ef2c9a858deb92ff570aaf5fe92f74ded519f00b63e062322d8
|
|
BLAKE2b-256 checksum How to use checksums |
7d6bf9babfc3d3ba853b1ada7bdb78ee8acb169fdca24f17841e7abdebcfff3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Release files / arSort-0.1-py3-none-any.whl
| Download URL | arSort-0.1-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9443d8e5f0fb376470b35ba4df1d59f575f68031d5686799008f79b408cad88
|
|
BLAKE2b-256 checksum How to use checksums |
083e462269da3690345754161ed6c2bbad1a54496e8860fcd6bd59ff42a17b28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|