algopack 0.0.4

Creator: codyrutscher

Last updated:

0 purchases

algopack 0.0.4 Image
algopack 0.0.4 Images

Languages

Categories

Add to Cart

Description:

algopack 0.0.4

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


sort

bubble
bucket
cocktail_shaker
comb
counting
gnome
heap
insertion
merge
pancake
quick
radix
selection
shell

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.