Pure Data Structures
Data structures package for python, written in pure python code, not dependent on any other libraries or built-in function.
List of Data Structures
- Stack
- Stack + Linked List
- Queue
- List
- List + Ordered List
Installation
You can install this package with command :
pip install pure-datastructures
Usage
A quick introduction using pure-datastructures. Using OrderedList() built-in method :
import ds
scenario = ds.OrderedList()
# basic insertion
scenario.procedure_push(70)
scenario.procedure_push(13)
scenario.procedure_push(-3)
# calculate size of array with `size()`
# return length of array
print(scenario.procedure_expand_size())
# searching value through array with `search_obj()`
# return False if value is not founds
print(scenario.procedure_search_obj(5))
Documentation
For documentation read in pure-datastructures.
Release files for pure-datastructures 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pure-datastructures-0.2.0.tar.gz | 6.9 kB | Details |
Release files / pure-datastructures-0.2.0.tar.gz
| Download URL | pure-datastructures-0.2.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ebde8b4ddf9cc7b39d01a31db1e194aec7de4e7f985015716dc3e2dbc9c04b6
|
|
BLAKE2b-256 checksum How to use checksums |
2210e6dd85903e862eaba47d3228026e9c954f9eed4c22e21668ac40a8bd913e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5
|