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]
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| algocraft-0.2.6.tar.gz | 12.4 kB | Without provenance | Details for algocraft-0.2.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| algocraft-0.2.6-py3-none-any.whl | Python 3 | none | any | Details for algocraft-0.2.6-py3-none-any.whl |
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
|
Security for algocraft 0.2.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.