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, and tested implementations. Designed for learning, interviews, and real-world algorithm reasoning.

Features

Search Algorithms

  • Linear Search
  • Binary Search (iterative, invariant-based)

Sorting Algorithms

  • Insertion Sort (in-place, stable)

Usage

Install

pip install algokit-py

Search

from algokit_py.search import linear_search, binary_search

print(linear_search([1, 2, 3], 2))
print(binary_search([1, 2, 3], 2))

Sorting

from algokit_py.sort import insertion_sort

data = [3, 1, 2]
insertion_sort(data)
print(data)   # [1, 2, 3]

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.2.0.tar.gz (3.3 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.2.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file algokit_py-0.2.0.tar.gz.

File metadata

  • Download URL: algokit_py-0.2.0.tar.gz
  • Upload date:
  • Size: 3.3 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.2.0.tar.gz
Algorithm Hash digest
SHA256 c06f651ee19d9d862517d1cad636866139903f3c086af2e7a99d1c32d21cff83
MD5 a565558b35a8af5cf6fa8bfe0f7563c4
BLAKE2b-256 caad97a50c3786686b0ec0e26e4bf37ba640c072577ce70666b11bf72c2ac7ed

See more details on using hashes here.

File details

Details for the file algokit_py-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: algokit_py-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e13dd9eac8a3c3878ddb44cbbd55130bd7496f8fa56c0cca01da1bd0ec82c2d3
MD5 48b1d606d39bdac7da29253db8d406be
BLAKE2b-256 b1be1d768c77b40abe32eb16fa66da2cc63edcc67eb48e0296546c24d082f224

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