Skip to main content

Here's the updated README.md content in markdown format:

Algocraft

Algocraft is a Python package that provides efficient and easy-to-use implementations of classic algorithms, including searching, sorting, dynamic programming, graph algorithms, and more. Designed to be a comprehensive library, Algocraft offers a wide range of fundamental algorithms commonly used in computer science, making it a go-to toolkit for both learning and practical applications.

Features

Sorting Algorithms

  • Bubble Sort
  • Merge Sort
  • Quick Sort
  • Heap Sort
  • Strassen's Matrix Multiplication

Search Algorithms

  • Binary Search
  • Linear Search

Dynamic Programming

  • Fibonacci Sequence
  • Knapsack Problem

Graph Algorithms

  • Dijkstra's Algorithm
  • Floyd-Warshall Algorithm

Miscellaneous Algorithms

  • Topological Sort
  • Tower of Hanoi
  • 8-Queens Problem
  • Simplex Method

Installation

You can install the algocraft package via pip from the Python Package Index (PyPI):

pip install algocraft

Usage

Once installed, you can start using the algorithms directly by importing them. For example:

from algocraft import binary_search, fibonacci, merge_sort

# Binary Search
arr = [1, 2, 3, 4, 5]
index = binary_search(arr, 3)
print(f'Index of 3: {index}')  # Output: 2

# Fibonacci
fib_number = fibonacci(10)
print(f'10th Fibonacci number: {fib_number}')  # Output: 34

# Merge Sort
arr_to_sort = [3, 1, 4, 1, 5, 9]
sorted_arr = merge_sort(arr_to_sort)
print(f'Sorted array: {sorted_arr}')  # Output: [1, 1, 3, 4, 5, 9]

Release files for algocraft 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for algocraft 0.2.6
File Size Uploaded
algocraft-0.2.6.tar.gz 12.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for algocraft 0.2.6
File Interpreter ABI Platform
algocraft-0.2.6-py3-none-any.whl Python 3 none any Details

Total release size: 29.4 kB

Release files / algocraft-0.2.6.tar.gz

Download URL algocraft-0.2.6.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
28dceb7db319532cb9f7b149a75833070c587db53af3cbc0a38923d13784aa57
BLAKE2b-256 checksum
How to use checksums
3e2ec3b7bab61e9ac11120a8aa9a1f517dcb34c4d3528a1231ae8ec883e68b9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.9

Release files / algocraft-0.2.6-py3-none-any.whl

Download URL algocraft-0.2.6-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f50ed11ab16e2de2b67456ec25322a9c50518c073e3a8d2988eace45d78b4082
BLAKE2b-256 checksum
How to use checksums
6cb551617da396779c7768a5823f55b2b78a1fb2ee5aa53ebed520b9d606ceb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.9

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page