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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file algopack-0.0.4.tar.gz.
File metadata
- Download URL: algopack-0.0.4.tar.gz
- Upload date:
- Size: 87.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fb1944068b09d9169bc641ee1c47e835fea2f730e3da46605d09d6b6ca9f060
|
|
| MD5 |
c866a4e0f99e49b86792916c190168cb
|
|
| BLAKE2b-256 |
3b0fc597fc93dda4c384a847ea8e26bb9c0a7b660239ba9e739d8c48f72fb87e
|
File details
Details for the file algopack-0.0.4-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: algopack-0.0.4-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 67.1 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cb7bb30a13944921c7f12f301c53b5f66379d1931bf1e6aa1cc23589005ec8d
|
|
| MD5 |
f698235ccd5c009070df332cc16ed5b1
|
|
| BLAKE2b-256 |
aa9c15bf5c006f2f137feb85480feeb25df02d5de080980ef9380055e37c7d56
|
File details
Details for the file algopack-0.0.4-cp38-cp38-macosx_10_13_x86_64.whl.
File metadata
- Download URL: algopack-0.0.4-cp38-cp38-macosx_10_13_x86_64.whl
- Upload date:
- Size: 65.6 kB
- Tags: CPython 3.8, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6947f797c18fff629ca447e5b32ee89ac94ec48d23729c3b862a3cb0118fbd3
|
|
| MD5 |
78c92fa1b255c1aeb6b1882fae6f8d07
|
|
| BLAKE2b-256 |
e9996ea1a2a149f09effbf2846191fe6b0c756dfbcad8145575e25a0e51885cb
|
File details
Details for the file algopack-0.0.4-cp37-cp37m-win_amd64.whl.
File metadata
- Download URL: algopack-0.0.4-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 65.7 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4fc9c9a27682a3cdd4fbb6c95cebd34edcc842540bfe170ac4d534869baebb3
|
|
| MD5 |
b3f4dcc4fe87abe2c460788f3de9f7b9
|
|
| BLAKE2b-256 |
8a8c107983c44514e357455256c6cca4fe5ca41702a718fb6260ec44b6c79e3c
|
File details
Details for the file algopack-0.0.4-cp37-cp37m-macosx_10_13_x86_64.whl.
File metadata
- Download URL: algopack-0.0.4-cp37-cp37m-macosx_10_13_x86_64.whl
- Upload date:
- Size: 64.8 kB
- Tags: CPython 3.7m, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95fe22ddd21663a2888bf30f52ad23c5f1a94568d4456dc670086bd1a96f3441
|
|
| MD5 |
26541d3f93de2360bf40b38979a74dd2
|
|
| BLAKE2b-256 |
14aa73a5607f13726f8441e1408b85908b88f51ea330eac359b0dc134b74f550
|
File details
Details for the file algopack-0.0.4-cp36-cp36m-win_amd64.whl.
File metadata
- Download URL: algopack-0.0.4-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 66.0 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbe65527910e9297226bfb0b53d4f7df6946de789a4b825ae1d18a940b3bbe4d
|
|
| MD5 |
c9dafd76773ac2ce6d47c7062c2f2cc2
|
|
| BLAKE2b-256 |
20980d8873c450d9f4e6e6ff89b444429960bface100e72f94fd569b43975208
|
File details
Details for the file algopack-0.0.4-cp36-cp36m-macosx_10_13_x86_64.whl.
File metadata
- Download URL: algopack-0.0.4-cp36-cp36m-macosx_10_13_x86_64.whl
- Upload date:
- Size: 65.3 kB
- Tags: CPython 3.6m, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8769d17a101655f37141fe312c02a04b926276fae1cf06e47954d4ed71c4801b
|
|
| MD5 |
bf77e2110c887e8d68fcc17041c8024e
|
|
| BLAKE2b-256 |
5926f34f182964d12006a59cab2c161b41ac1fafc2601e33043b94edaa244ff0
|