Project for exploring popular sorting algorithms.
Project description
Popular sorting
Library containing some of the most popular sorting algorithms to play around with.
At the moment library has the following algorithms implemented:
- Bubble Sort
- Bucket Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Selection Sort
How to install
pip install pop-sort
How to use
There are few examples on how to use this library in use_examples directory. All algorithms have optional reverse value which can be used if sorted array in reverse order is needed
Example:
sorted_offers = quick_sort([5, 8, 4, 15, 111, 1, 22, 1, 5, 10])
print(f"Here are best offers: {sorted_offers}")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pop_sort-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pop_sort-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
755ba0a30aabf2ad6a69e0af1479b96f2d6ee2f5e7da8a7d3ba28c755064b41c
|
|
| MD5 |
236680a7c8aa65cd60029288640e8bab
|
|
| BLAKE2b-256 |
bfeb6548b4942112d5567839781b95f496dc821774d0c8cd2a554dd2337d3f23
|