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
Metadata
Release files for algopack 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| algopack-0.0.4.tar.gz | 87.3 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| algopack-0.0.4-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details |
| algopack-0.0.4-cp38-cp38-macosx_10_13_x86_64.whl | CPython 3.8 | CPython 3.8 | macOS 10.13+ x86-64 | Details |
| algopack-0.0.4-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| algopack-0.0.4-cp37-cp37m-macosx_10_13_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.13+ x86-64 | Details |
| algopack-0.0.4-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
| algopack-0.0.4-cp36-cp36m-macosx_10_13_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | macOS 10.13+ x86-64 | Details |
Total release size: 481.9 kB
Release files / algopack-0.0.4.tar.gz
| Download URL | algopack-0.0.4.tar.gz |
|---|---|
| Size | 87.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3fb1944068b09d9169bc641ee1c47e835fea2f730e3da46605d09d6b6ca9f060
|
|
BLAKE2b-256 checksum How to use checksums |
3b0fc597fc93dda4c384a847ea8e26bb9c0a7b660239ba9e739d8c48f72fb87e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / algopack-0.0.4-cp38-cp38-win_amd64.whl
| Download URL | algopack-0.0.4-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 67.1 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2cb7bb30a13944921c7f12f301c53b5f66379d1931bf1e6aa1cc23589005ec8d
|
|
BLAKE2b-256 checksum How to use checksums |
aa9c15bf5c006f2f137feb85480feeb25df02d5de080980ef9380055e37c7d56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / algopack-0.0.4-cp38-cp38-macosx_10_13_x86_64.whl
| Download URL | algopack-0.0.4-cp38-cp38-macosx_10_13_x86_64.whl |
|---|---|
| Size | 65.6 kB |
| Tags | CPython 3.8 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
a6947f797c18fff629ca447e5b32ee89ac94ec48d23729c3b862a3cb0118fbd3
|
|
BLAKE2b-256 checksum How to use checksums |
e9996ea1a2a149f09effbf2846191fe6b0c756dfbcad8145575e25a0e51885cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / algopack-0.0.4-cp37-cp37m-win_amd64.whl
| Download URL | algopack-0.0.4-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 65.7 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e4fc9c9a27682a3cdd4fbb6c95cebd34edcc842540bfe170ac4d534869baebb3
|
|
BLAKE2b-256 checksum How to use checksums |
8a8c107983c44514e357455256c6cca4fe5ca41702a718fb6260ec44b6c79e3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / algopack-0.0.4-cp37-cp37m-macosx_10_13_x86_64.whl
| Download URL | algopack-0.0.4-cp37-cp37m-macosx_10_13_x86_64.whl |
|---|---|
| Size | 64.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
95fe22ddd21663a2888bf30f52ad23c5f1a94568d4456dc670086bd1a96f3441
|
|
BLAKE2b-256 checksum How to use checksums |
14aa73a5607f13726f8441e1408b85908b88f51ea330eac359b0dc134b74f550
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / algopack-0.0.4-cp36-cp36m-win_amd64.whl
| Download URL | algopack-0.0.4-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 66.0 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
dbe65527910e9297226bfb0b53d4f7df6946de789a4b825ae1d18a940b3bbe4d
|
|
BLAKE2b-256 checksum How to use checksums |
20980d8873c450d9f4e6e6ff89b444429960bface100e72f94fd569b43975208
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / algopack-0.0.4-cp36-cp36m-macosx_10_13_x86_64.whl
| Download URL | algopack-0.0.4-cp36-cp36m-macosx_10_13_x86_64.whl |
|---|---|
| Size | 65.3 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
8769d17a101655f37141fe312c02a04b926276fae1cf06e47954d4ed71c4801b
|
|
BLAKE2b-256 checksum How to use checksums |
5926f34f182964d12006a59cab2c161b41ac1fafc2601e33043b94edaa244ff0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|