Cython wrapper around GrailSort (https://github.com/gaming32/GrailSort-Maintained)
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.2.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2564711063a5185f17febc96b32a007377488b0051c395082feb960ce9a8b975 |
|
MD5 | 05a3f72d7dbc6a4065b0427c0011a146 |
|
BLAKE2b-256 | c309acddf241d3cba39afca6614be3b28f7186c03f739b0735bac8fcb0ef334c |
Hashes for GrailSort-1.2.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9ba0867ae56d5cb57f01d068e780909c8cb99647b328499ae887395c0c68b64 |
|
MD5 | 5038f296cd91f1f4d7ff6c40fe115c4e |
|
BLAKE2b-256 | 0f23ae2bbbd74a85282871a6d7645165bd9dc8ef99e68d21fc35bcb377fbcd13 |
Hashes for GrailSort-1.2.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97585da54956397123b99d5bc871867bfce04b64887ea536a46a7badbec97ea0 |
|
MD5 | a177865b78fc6a0525b177d5b7e7cc08 |
|
BLAKE2b-256 | 87621fbdc039bf6483ec716c83cfe989962ff412c14074d90c515a517f6708aa |
Hashes for GrailSort-1.2.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d794b0c64ee3613132dcbfe511052aacd0252071488c14068428caf92115855 |
|
MD5 | 01f9b06c1445e0032cbee6a654104ba4 |
|
BLAKE2b-256 | ce77ed8d0bc026ae05426a9772f19b9680906baf1098625f8cc70a431279f6e7 |