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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5af223908321532fd8be8195a3f32e87b17b7a00ceb278a13ffb61db6731248 |
|
MD5 | 5b747e8635efebb560c5a3b53b2f8ec2 |
|
BLAKE2b-256 | 36f942c7d701da7dc83e425d54ab2d37793d3a606562a36ec06d5c5f8f833af8 |