Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

algokit_py-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

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

Hashes for algokit_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c60b08777ad13cc27a9db71604e1f455189829ae421963ab4fa13b58eda437f5
MD5 67dfbcf347d8ce2e4a08789ab3d89516
BLAKE2b-256 8ff2ade2fcf6f3243a2648042dac90ecff4aa0e89afde2e39754666194bb5a53

See more details on using hashes here.

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

Hashes for algokit_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc389a08ff160ecaaa783fc3c913b75c0f7587a50bbdbe06f739880591339376
MD5 cc88da0dddf7bbdee938aca085623234
BLAKE2b-256 69c85a12e4a40f3d8ebff0e0bd38dafa7cef93959ab7e6610856a69bc60ba44f

See more details on using hashes here.

Supported by

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