Data Structures packages with pure python
Project description
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
This package only work in python 3.6 or higher :
pip3 install pure-datastructures
Usage
A quick introduction using pure-datastructures
. Using OrderedList()
references and integer input-type :
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for pure-datastructures-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b67c3683a0d3011e98a61c9a31f2cc5d52701bdf6a2ef7faa2abbf19e61afa1 |
|
MD5 | 99b4ee8c7f55ebfe962e87a166bee9ea |
|
BLAKE2b-256 | 6d574aede93108e2d303be700b22dc93b5d6576541d2effa03c2be4b4e423c2f |