Skip to content

An alogrithm analyzer tool for few famous sort algoirthms

License

Notifications You must be signed in to change notification settings

KR-Ravindra/sort-analyzer

Repository files navigation

pytest

sort-analyzer

An alogrithm efficiency analyzer tool for few famous sort algorithms

Visuals

MainScreen LiveSort AlgoCompare

Pre-requesties

  • Python 3.6+ (tested on python version: Python 3.11 - Mac OS)

Setup

$ git clone https://github.com/KR-Ravindra/sort-analyzer && cd sort-analyzer
$ python3 -m venv .env
$ source .env/bin/activate
(.env) $ pip3 install -r requirements.txt # Install dependencies from the file 'requirements' in current directory to your local environment

Getting Started

$ python3 main.py
# Asks for user input of an array and algo_name, else defaults to bubble sort and predefined elements

To Contributors

(.env) $ pip3 freeze > requirements.txt
$ git add . && git commit -m "My Fancy Commit Message"
$ git push origin mybranchname

Running Test Cases

# set your environment variable so you can find the algorithms/visualizer or any folder
$ export PYTHONPATH=$PYTHONPATH:$PWD/algorithms 
$ pytest # Run all test cases with coverage report

Contribution

No particular rules, Thank you for contributions!

About

An alogrithm analyzer tool for few famous sort algoirthms

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages