The library which helps users to implement data structres & algoithms easily without implementing each and every structure.
Project description
easydsi 1.0.1
Python Library makes it easy for users to code and run data structures & algorithms without having to summarize everything.
Contains
Array
- array(size) - Creates an array with size.
- array(elements) - Creates an array with elements.
Linked List
- linked_list() - Creates an empty linked list.
- linked_list(elements) - Creates an linked list with elements.
Stack
- stack(size) - Creates an stack with size.
- stack(elements) - Creates an stack with elements.
Queue
- queue(size) - Creates an queue with size.
- queue(elements) - Creates an queue with elements.
Methods
- add(position, element) - Add the element in the position.
- remove(position) - Delete the element from the position.
- index(position) - Get the element from the position.
- display() - Display all the elements.
- getElements() - Get all the elements.
- getLength() - Get the length.
(Specially for Linked List)
- addAtFirst() - Add the element at the first position.
- addAtLast() - Add the element at the last position.
- removeAtFirst() - Remove the element from the first position.
- removeAtLast() - Remove the element from the last position.
How to install
- Go to your command prompt and type the following command.
pip install easydsi
How to use
- Import the library in your project
import easydsi
How to build and upload to PyPI
Source Distribution
pip install setuptools twine
python setup.py sdist
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
Wheel File
pip install setuptools wheel
python setup.py bdist_wheel
twine upload dist/*
Change Log
0.0.1 (17/01/2022)
- Initial Release
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
easydsi-1.0.1.tar.gz
(4.6 kB
view hashes)