A minimal Python algorithms library with clean implementations of search algorithms
Project description
algokit-py
A lightweight Python algorithms library with clean, well-documented implementations.
Features
- Linear Search
- Binary Search
Usage
from algokit_py.search import linear_search, binary_search
print(linear_search([1, 2, 3], 2))
print(binary_search([1, 2, 3], 2))
We will improve this later.
STEP 6: Local Install Test (Very Important)
From project root:
pip install -e .
Then test:
python -c "from algokit_py.search import binary_search; print(binary_search([1,2,3], 2))"
You must see:
1
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
algokit_py-0.1.0.tar.gz
(2.8 kB
view details)
Built Distribution
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 algokit_py-0.1.0.tar.gz.
File metadata
- Download URL: algokit_py-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c60b08777ad13cc27a9db71604e1f455189829ae421963ab4fa13b58eda437f5
|
|
| MD5 |
67dfbcf347d8ce2e4a08789ab3d89516
|
|
| BLAKE2b-256 |
8ff2ade2fcf6f3243a2648042dac90ecff4aa0e89afde2e39754666194bb5a53
|
File details
Details for the file algokit_py-0.1.0-py3-none-any.whl.
File metadata
- Download URL: algokit_py-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc389a08ff160ecaaa783fc3c913b75c0f7587a50bbdbe06f739880591339376
|
|
| MD5 |
cc88da0dddf7bbdee938aca085623234
|
|
| BLAKE2b-256 |
69c85a12e4a40f3d8ebff0e0bd38dafa7cef93959ab7e6610856a69bc60ba44f
|