Cython wrapper around GrailSort (https://github.com/Mrrl/GrailSort)
Project description
GrailSort for Python
GrailSort for Python is a Python API for the GrailSort algorithm.
Installation
You can install GrailSort for Python from source:
$ git clone https://github.com/gaming32/grailsort
$ cd grailsort
$ python setup.py install
Or you can install it from PyPI:
$ python -m pip install GrailSort
Usage
GrailSort for Python comes with two modules: a strict one, and a slower one. The strict module (cGrailSort
) only deals with array.array('d')
objects, while the slower module (grailsort
) deals with any Python sequence that contains comparable objects.
It is generally unnescessary to deal with the grailsort
module, as you might as well use the built-in list.sort
method or the sorted
function. However, TimSort is not in-place, while GrailSort is. cGrailSort
is useful when you need to sort with speed.
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
Built Distributions
Hashes for GrailSort-1.1.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 264cd744054354fed7ffffdfe72ff07779dee7c8600e58dcacf5bbd6956a36c2 |
|
MD5 | d29fa08b80602f88fb7d881db23efe8e |
|
BLAKE2b-256 | a6634a369c4386740a82d24f147066cc744742522bc00647f0a74a0dfd2d082b |
Hashes for GrailSort-1.1.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f79e26bb8f27dfba5c02d7b1931559b4dd8f4a4db0dcd136fa5a0694cc735979 |
|
MD5 | e7a28cdf10b218a048cc6c60ce0f2b7a |
|
BLAKE2b-256 | 39ff041a1f75c7c9f56c8e9b2d1deaa650c2a260a0c4ef286a0e970cb5b5355d |
Hashes for GrailSort-1.1.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4ffe26f7fddbcdacafdffcb2c9b4865af05072c944d0a61284110445d86ac60 |
|
MD5 | fec61926d26b6e4f6eb14d010da8f9f3 |
|
BLAKE2b-256 | fd9e84a26d69bee4be989d2733744ce82c996c3941d1b08adf3d139b9214c425 |
Hashes for GrailSort-1.1.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33282ee9cb2cb8ecefdf255a1047c20f673c6c6d4256ad0271c22d4984bcb0c3 |
|
MD5 | 711f7be3446844c50f94e9250843426a |
|
BLAKE2b-256 | 99cb991b8f24b9e18c45e05eb3d3e909f3245484678828cf07743f11fb0a6672 |