Basic and Moded data structures with rust backend for speed.
Project description
Overview
modstore
brings the speed python lacked while implementing complex data structures. Leveraging Rust's
speed, modstore
brings custom data structures to decrease processing time. Apart from that, modstore
offers upgraded built-in data structures such as list
, dict
, tuple
and a few new ones like stack
.
modstore
started as a data structure library but now also contains algorithms such as sorting and searching.
Features
modstore
currently offers the following data structures and algorithms to make your day an easy one:
For documentation on a particular topic, click on the topic.
The docs for few topics are still under works, The code itself has docstring(s) in them for ease of use.
Here are the basic importing structures for all currently available modules.
from modstore.python import List, Stack from modstore.rust import BlockChain, DAG from modstore.algorithms.searching import Search, SearchObject from modstore.algorithms.sorting import Sort, SortObject
Categories
-
modstore
contains a hell lot of detailed algorithms.Currently available:
-
- Linear Search
- Sentinel Linear Search
- Binary Search
- Meta Binary Search (One Sided Binary Search)
- Ubiquitous Binary Search
- Ternary Search
- Jump Search
- Interpolation Search
- Exponential Search
- Fibonacci search
-
- Selection Sort
- Bubble Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Heap Sort
- Counting Sort
- Radix Sort
- Bucket Sort
- Tim Sort
- Bingo Sort
- Shell Sort
- Comb Sort
- Pigeonhole Sort
- Cycle Sort
- Cocktail Sort
- Strand Sort
- Sleep Sort
- Pancake Sort
- Bogo Sort
- Gnome Sort
- Stooge Sort
- Tag Sort
- Brick Sort
- Three Way Merge Sort
-
-
modstore
offers the followingrust
powered data structures:-
BlockChain: Using Rust's performance, create tamper proof blockchain data structure of your required difficulty. Search through the blockchain and retrieve data in their original form as provided.
-
DAG: Directed Acyclic Graphs are graphs with no cycles, used in certain blockchain variants like IOTA. Create, manipulate and store Network like data in DAG ledgers.
-
-
modstore
has these upgraded built-ins:- [List]
-
- [Stack]
Install from scratch
Make sure you have cargo installed (Rust) and VS Build Tools for C++ (for windows)
git clone https://github.com/d33p0st/modstore.git
python -m pip install --upgrade pip
pip install maturin
cd modstore
maturin develop
pip install .
Issues
Feel free to submit any issues with the BlockChain Class here.
Pull Requests
Submit pull requests here.
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 Distributions
File details
Details for the file modstore-1.1.1.tar.gz
.
File metadata
- Download URL: modstore-1.1.1.tar.gz
- Upload date:
- Size: 41.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 685014594da46e11a44973e68226f10bf0e616989ec8fe880b9dc30edf8f1ec3 |
|
MD5 | 9989897c7c656133f5e8f8b85b1f6ac4 |
|
BLAKE2b-256 | 75afb30fabe124276ae450b5592e165edb5182dec73c1f77e8b39ef7ab3eeee1 |
File details
Details for the file modstore-1.1.1-cp313-none-win_amd64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp313-none-win_amd64.whl
- Upload date:
- Size: 790.1 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9299e684bacc2880cb144467d30c1ce0269cc6b66c52a3b8c393b70191ee4dc |
|
MD5 | 772105e541d11327086eded408296e90 |
|
BLAKE2b-256 | 5d6d0899b4863dc186146333a3590947f467851a61cd5a57e2c4d70ee88d0ebf |
File details
Details for the file modstore-1.1.1-cp313-cp313-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp313-cp313-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbfbe988599aad2b06c12823644ca5c0f3f28a3d469b29bddc25f861287fc842 |
|
MD5 | 6096c8736d90bb2d88cb7bd813d3630b |
|
BLAKE2b-256 | 53fe0857f37919047a08b036148d2691893d523d62912aa6566c6618ce37588d |
File details
Details for the file modstore-1.1.1-cp313-cp313-macosx_11_0_arm64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 885.7 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef719b3eafb1ce43809be3aca66f968a336386ef1a40b772e3e681624d55b9ee |
|
MD5 | 3dc336a0587559f8b4d99627792be105 |
|
BLAKE2b-256 | d5ef47bf9048b8b5586965f9e4ecf0361f431e19335a59f1a4f4fd2006c9e6be |
File details
Details for the file modstore-1.1.1-cp312-none-win_amd64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp312-none-win_amd64.whl
- Upload date:
- Size: 790.1 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fce6fec52f566dac643a1d1e703f9ba922b3641dd55f8f206cd7d28c273693e |
|
MD5 | d61b683452d8046d5d8bc5267e9c478e |
|
BLAKE2b-256 | 259ba2c92947a89cba299fca4826d02ac3d0f98c02cf5da12cf82e92c751f8b3 |
File details
Details for the file modstore-1.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 230ae09df4d4efb25216ec70ff1866249270d9530e79c0055a7a8d3c630c1d39 |
|
MD5 | 8320a70df81eeedc8047e5dbc2099092 |
|
BLAKE2b-256 | c509a8e177f75849eac0b122de7d140301e3eaa954d254b5d69b923f827a49c2 |
File details
Details for the file modstore-1.1.1-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 885.4 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf3f5941f8ae3c7a5af5b434f194851b180ab0ce956f38704b31fd2cc491782e |
|
MD5 | a86e6d9043639d9cd20033bc84ea4a8a |
|
BLAKE2b-256 | 73d5fc86164417bfc4e063953e56f508a60d33ea92f1e842aecc0c5a1612415d |
File details
Details for the file modstore-1.1.1-cp311-none-win_amd64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp311-none-win_amd64.whl
- Upload date:
- Size: 790.2 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64269ab6349d2c72a190c914571fc8eb95b4629bffcf9fcb7dc94fa58c74b626 |
|
MD5 | 35ed58510864de0ec5953b43aaa153a4 |
|
BLAKE2b-256 | d925915ba8d7c2f552c42a9bd06623326a1a04155cebca26bd585a1cddc0e053 |
File details
Details for the file modstore-1.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35945f86b2d609bf59cfa2c328ac3098867235f2ca8f5cf7b1d1df77adb1e3d5 |
|
MD5 | b62fa07237e4dcea74ac626b04bf627d |
|
BLAKE2b-256 | 9d151decc77bb93c40207a4c22d1f0b3e8f1d7c53380f417652f159789b4b9cb |
File details
Details for the file modstore-1.1.1-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 887.2 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8990d7a017cf315fca613c061e19e36cf253f93376d84691c3b19dff54f07d4e |
|
MD5 | 17971a9a7dc57df1b7d6162c618bff40 |
|
BLAKE2b-256 | 1fe87f2d1b2262575215e51515e28034d1c4cb39cdda6663fa4c1942bc1cebe3 |
File details
Details for the file modstore-1.1.1-cp310-none-win_amd64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp310-none-win_amd64.whl
- Upload date:
- Size: 790.2 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e641603cc7927e4989a22323d9aec95022deee44e2e42057d7fb349c88829e1 |
|
MD5 | fa206b5e24f6a7dbc9649d994cc668d8 |
|
BLAKE2b-256 | afa41c0df502ec9392dec819647af1fc43c0f5769b415485360f3b795b734ddf |
File details
Details for the file modstore-1.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f12dbcb1c2585f2753d4fa321ecb3ea15d7bedaaae73a5bec783f149c2dab127 |
|
MD5 | 315dcbcc7f77a9d117df8effe096a249 |
|
BLAKE2b-256 | 7b5e78282598301e6bd46702e8fcf788717d3a3b999ca58314a60fb97a2d2fc7 |
File details
Details for the file modstore-1.1.1-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 887.1 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 206d4f0e6c49c02beced993b57684a2ebeca1bab45d7299a1318df59f46a9d4f |
|
MD5 | 43f725bd30f884f09a875cbef6151a08 |
|
BLAKE2b-256 | 85783b809e1807f8ff83ff8fe6dc86d9d00896511dd9e19291b6a0fe0d5df9ca |
File details
Details for the file modstore-1.1.1-cp39-none-win_amd64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp39-none-win_amd64.whl
- Upload date:
- Size: 790.4 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3051a9c512dda4626f64426f18e3737003d13fa02bd4f9c640f0621402fe040e |
|
MD5 | 76b5b87cec09b0b187b4b00497c15169 |
|
BLAKE2b-256 | 91ab3391525322c0161a758ba58b26cb0786cdd57a59399e90f7b52ab21cb778 |
File details
Details for the file modstore-1.1.1-cp39-cp39-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp39-cp39-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.9, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e1ec974868ad7d4162c756eff2602eb7c1c2ad9e731a4b8aa9360d1ca6072d7 |
|
MD5 | d9a9e68141f91bfad26ea044587695a1 |
|
BLAKE2b-256 | 96af575ce770bd37bbe86bc098642608185c0c65f7e52f9856a1b302cd204bf8 |
File details
Details for the file modstore-1.1.1-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 887.5 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 006a3380a91b8b5117d5297cc6370110f436ee7d4e5bfcbb7fb1be636e043e27 |
|
MD5 | 57d5f4c7e3f606b808347abc81f4d4b2 |
|
BLAKE2b-256 | 594577095d929ee627092c3101add37c2590761b4ec5e129910a1cedf62e88fc |
File details
Details for the file modstore-1.1.1-cp38-none-win_amd64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp38-none-win_amd64.whl
- Upload date:
- Size: 790.5 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dd15dc2064a1e7d225f2f329b9ec94a333054248e4cb93cd07d232a1fa402ee |
|
MD5 | aef9cd697ea497ebfbdc4fe8efdbf7e6 |
|
BLAKE2b-256 | 2bf3234cf7d485b3344bb876d8175d7b977e50053b113b84a7c71e336bf44c01 |
File details
Details for the file modstore-1.1.1-cp38-cp38-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp38-cp38-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.8, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5363e98e98cbfe04e05f16068f3cf0b75ffa15dedf5f5a64cdcb18704b46118 |
|
MD5 | 744167f9aa4afc2e214a7fc1be6f967a |
|
BLAKE2b-256 | 17bf5aead25aac192863e0795ac855dc0e4426ddfacea8bdde7b84b204900934 |
File details
Details for the file modstore-1.1.1-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: modstore-1.1.1-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 887.2 kB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7435a2441d2e9f0e4c67c449005130faf9df1797821dc1a2ceaa7852abe2d99c |
|
MD5 | 2dc0448fa8523041bc2bed5f91ea3952 |
|
BLAKE2b-256 | 4904d96d54c31942e7d16c69dacc52ff1b4945526047de2a0787175cff8694af |