A simple quicksort implementation
Project description
The QuickSortPy library (by RapidDragon2612) is a working python implementation of the quick sort algorithm. Quick sort is widely considered to be the fastest and most efficient sorting algorithm.
To install QuickSortPy, run (in Command Prompt/Terminal):
pip install quicksortpy
To use QuickSortPy, run (in your python file):
import quicksortpy
And then use the quicksortpy.sort() function, with the argument of the array which is to be sorted:
quicksortpy.sort(example_array)
This will sort example_array. If you want to sort it in a new array, type:
quicksort.sort(example_array, True)
This will create a new array called sorted_arr .
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 quicksortpy-0.2.0.tar.gz.
File metadata
- Download URL: quicksortpy-0.2.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8d5eab8f2cab45219938fb5a92a32bc9270482a8a198a0ec239a504e20f3762
|
|
| MD5 |
c0ac296356135b37f47dfb8585a9fbeb
|
|
| BLAKE2b-256 |
fd42267c70806307c52567dae812648c28312d89fba34c9e54803fbe36a520ee
|
File details
Details for the file quicksortpy-0.2.0-py3-none-any.whl.
File metadata
- Download URL: quicksortpy-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68369dc176ef6665ee9bea5fb9a9babb5e61da7136a554201617bc18d3b47ff9
|
|
| MD5 |
b43d58d882152f7a887f6b8d3a6882c4
|
|
| BLAKE2b-256 |
f9120e3c3fb8958a7794a56b49fe128a33f0877f38f61105c033bc338f9cbcbe
|