Skip to main content

Data Structures packages with pure python

Project description

Pure Data Structures

Build Downloads PyPI - Status PyPI

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.

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

pure-datastructures-0.2.0.tar.gz (6.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page