Skip to main content

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.4.tar.gz (87.3 kB view hashes)

Uploaded Source

Built Distributions

algopack-0.0.4-cp38-cp38-win_amd64.whl (67.1 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

algopack-0.0.4-cp38-cp38-macosx_10_13_x86_64.whl (65.6 kB view hashes)

Uploaded CPython 3.8 macOS 10.13+ x86-64

algopack-0.0.4-cp37-cp37m-win_amd64.whl (65.7 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

algopack-0.0.4-cp37-cp37m-macosx_10_13_x86_64.whl (64.8 kB view hashes)

Uploaded CPython 3.7m macOS 10.13+ x86-64

algopack-0.0.4-cp36-cp36m-win_amd64.whl (66.0 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

algopack-0.0.4-cp36-cp36m-macosx_10_13_x86_64.whl (65.3 kB view hashes)

Uploaded CPython 3.6m macOS 10.13+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page