DSA utility library — input helpers, algorithms, data structures, and AI assistant
Project description
libbs
DSA utility library — interactive input helpers, string/math/array algorithms, data structures, and an optional AI coding assistant.
from libbs import *
show_commands() # list everything available
input_matrix() # interactively type a matrix
is_palindrome("racecar") # True
sieve(100) # primes up to 100
max_subarray_sum([-2,1,-3,4,-1,2,1,-5,4]) # 6
ListNode.from_list([1,2,3,4,5])
respond_help("How to reverse a linked list?") # requires: pip install libbs[ai]
Install
pip install libbs # core
pip install libbs[ai] # with AI assistant (transformers + torch)
License
MIT
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
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 supermegaexplosion-0.1.0.tar.gz.
File metadata
- Download URL: supermegaexplosion-0.1.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd9a3bcebe96de2607fd9426f695d79fe45ff2fc67073776a4b8daf546098b48
|
|
| MD5 |
adbf791e5b49ea0608676e5fd9a3ed8d
|
|
| BLAKE2b-256 |
37fda8b7d714e56ef277eb1793bad8085a08414f0b22e5a3e1352b1c27fe2e1f
|
File details
Details for the file supermegaexplosion-0.1.0-py3-none-any.whl.
File metadata
- Download URL: supermegaexplosion-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67049a560f93e56d538aa54a2cc208708a2786ff4ace84765f1164c0971f1326
|
|
| MD5 |
94e77b40e7f8777149f61e2cc1681fc6
|
|
| BLAKE2b-256 |
b61a89aa8187c90bfc547d3f4f8451bcda87bf9600d3a3907c2151d6e94962ae
|