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.1.tar.gz
(46.3 kB
view hashes)
Built Distribution
Close
Hashes for algopack-0.0.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fbb844c4277ea6179881695375a51ee73ba5b2b2a9860b7fe6eae2f6df00426 |
|
MD5 | 79f960f78dd31c605a0585bf738b7909 |
|
BLAKE2b-256 | 9f6116aee699ea372494347c5b89f0aa995e4af703743c052610e8fe048cb0bc |