Pure-datastructures

A Collection of data structures wrapped as package written in python, not dependent on any other libraries or built-in function.

List of Data Structures

  • Stack
  • Stack with Linked List
  • Queue
  • List
  • List with Ordered List

Installation

This package only work in python 3.6 or higher, you can install it with :

pip3 install pure-datastructures

Test

Using unittest for test the data structures, for running all test :

python3 -m unittest tests

For running specific test (example you want test Stack) :

python3 -m unittest tests.test_stack

Ensuring version

To ensure the package is installed and checking current version, try to import using python in command line, and prompt an import ds in command-line for checking whether the package is successfully installed or not, to check version for now it can only be done using pip freeze or pip list.