Implementation of various common CS algortihms in Cython
Project description
Implementation of various common CS algorithms in Cython
Usage
Installation
$ pip install algopack
Examples
Sorting:
from algopack import sort
my_array = [10, 0, 5, 15, -5]
sorted_array = sort.bubble(my_array)
print(sorted_array)
# [-5, 0, 5, 10, 15]
Testing
Clone the repository:
$ git clone https://github.com/divykj/algopack.git $ cd algopack
Install requirements:
$ pip install -r requirements.txt $ pip install -r requirements_dev.txt
Run tests:
$ doit tests
Modules
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
algopack-0.0.3.tar.gz
(81.0 kB
view hashes)
Built Distributions
Close
Hashes for algopack-0.0.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1084471f75deb694e60ccc9cbffe2cd0eab9a2f69cf6f10cb7daf77acf0f1491 |
|
MD5 | 2feb7e60a641019f0dfed5a6c7611a31 |
|
BLAKE2b-256 | 69d67f78a3eaf411223cb63b34882156279c913f71c86aeee039de36c93f6e0b |
Close
Hashes for algopack-0.0.3-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 856fcfa77407470fcac671a4251b2613346f5bcef12b2f9d5066685e4249d393 |
|
MD5 | 9848c40c9929f3874f29bde4e47e33e2 |
|
BLAKE2b-256 | 4435c680ad02a3a11b0de1e429d2dd79b5b99307d16e8955020c468be61c9719 |
Close
Hashes for algopack-0.0.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07ccbc19fdfdd85f488663bba3a93b16368bdbc0159c33091ab931de02b70afc |
|
MD5 | 4e18ab5d67e1c3632511c2fd32b80a7b |
|
BLAKE2b-256 | 35b9a001b667709d4b99fda975f78e39460675239c2d68cddf2f30e64ff9aa55 |
Close
Hashes for algopack-0.0.3-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab044109469e3a18e7518119e830bd8c7381917e0867ef9a78a8b9096ec42868 |
|
MD5 | 25350801ae0ec6e9c2b0665e3ac0bc16 |
|
BLAKE2b-256 | d81b37228b83e382ab53a501befc95d7d84e9fbdddbc9187602971e905cc2f06 |
Close
Hashes for algopack-0.0.3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0454ebb888b0e84b7e90cca8d36bf5bfe4926f35959a49425a59ee5de1e6ae11 |
|
MD5 | c79d6909447784dfd234d521f6e1610d |
|
BLAKE2b-256 | 636c368f8915a6452832d79892f71d2d6a1a3a62bcbd2866a678adc568e44691 |
Close
Hashes for algopack-0.0.3-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31fa021565503f5d6c9fb72bd18b23f803651f94b549155e1ef489a964c48b45 |
|
MD5 | 3383ed26413f0c22405c1b76e90b9409 |
|
BLAKE2b-256 | 2457d9d8b040d86b81128d84f47a7f2ba44bd53e2aecbe8789e635431803bb24 |