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.2.tar.gz
(47.7 kB
view hashes)
Built Distributions
Close
Hashes for algopack-0.0.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8973d38db426a594608971a005090e190e9cc13bf17269913468ccafe1f27c38 |
|
MD5 | a0d4fc20bba7c79fa1dd6a1c31b0fcc4 |
|
BLAKE2b-256 | 0eb0c5247a61dd93688b2c96ea2e83c4c2b82dc4ca8ce14dbef4898ee4945343 |
Close
Hashes for algopack-0.0.2-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1be65858d4493a0f0856d486262b136b7c03de95c9fae5a8dcc3de3ed9360227 |
|
MD5 | b7c717e8a0ec52b732971fdfb8909172 |
|
BLAKE2b-256 | 55be312419e99404a2c4c8d967a711e4892b822279ce0ca432b068e2f8e8d764 |
Close
Hashes for algopack-0.0.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 451cfe8e985ad5fd349e1fc102f9ad5b7e8aec37ff1d2d7e22184e551dbb39fa |
|
MD5 | 0e0235c990f1ae21fb3d2ff5e1250509 |
|
BLAKE2b-256 | e9d858374e6b11af9d9fd45b85c540c078633b001ddb94381f8ff4dbebc596d1 |
Close
Hashes for algopack-0.0.2-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07c589c184c1037775eeb334a0c15605125a4a9ea3d733ebc339b84f93bc0ec9 |
|
MD5 | f6c1c8de525cbfb367a27f0fddd3b26a |
|
BLAKE2b-256 | 14e92722004deb91fa38d5ac9aaacaf510211452b3aefd5271ee881037d28d9f |
Close
Hashes for algopack-0.0.2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d87a3cad538039220a09151b732e6bb58f44394e2af0c82e77a5edaddef8b42e |
|
MD5 | 911a8b25f90c6fc9d1c2a64086377c09 |
|
BLAKE2b-256 | 98c939f9a4cbf0fda000448bc76f91357409c1499f5e424ff101b6b94d372e5c |
Close
Hashes for algopack-0.0.2-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cc58e04b243a760ff9f3729ce0b99bd3ef2a4c58296588de90dbcb3a1963ba3 |
|
MD5 | 16b005d34bfbb184d9a2f64f98b25e0a |
|
BLAKE2b-256 | aa64a4d5a06e84bd1688d23a3a7137cd097a5cd45c1c52dd0c6f5b5d7fe9e65f |