Skip to main content

No project description provided

Project description

SortVisualization: Visualize Different Sorting Algorithms with Custom Datasets

Dependencies:

Quick Start:

This visualizer is best used with integer values

  1. Run pip install SortVisualization in the terminal to install this library

  2. Create a new Python file (name it whatever you like)

  3. Import this library:
    import SortVisualization

  4. Create your custom list of integers:
    import random
    arr = list(random.randint(-100, 100) for _ in range(30))

  5. Visualize it!
    SortVisualization.visualizeSort(arr)

Features:

  • Sort by Ascending / Descending Order
    • Can only be changed when sorting not in progress
  • Dark Mode (Press Moon Icon on Top Right Corner)

All Methods:

  • Visualize All Sorting Algorithms with given list:
         visualizeSort(arr)

  • Visualize a random list with given size, minimum value, and maximum value:
         visualizeRandomList(sizeOfArr, minValue, maxValue)

  • Visualize Bubble Sort with given list:
         visualizeBubbleSort(arr)

  • Visualize Bogo Sort with given list:
         visualizeBogoSort(arr)

  • Visualize Insertion Sort with given list:
         visualizeInsertionSort(arr)

  • Visualize Counting Sort with given list:
         visualizeShellSort(arr)

  • Visualize Miracle Sort with given list:
         visualizeMiracleSort(arr)

  • Visualize Selection Sort with given list:
         visualizeSelectionSort(arr)

  • Visualize Shell Sort with given list:
         visualizeShellSort(arr)

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

sortvisualization-1.4.tar.gz (172.5 kB view details)

Uploaded Source

Built Distribution

SortVisualization-1.4-py3-none-any.whl (342.5 kB view details)

Uploaded Python 3

File details

Details for the file sortvisualization-1.4.tar.gz.

File metadata

  • Download URL: sortvisualization-1.4.tar.gz
  • Upload date:
  • Size: 172.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for sortvisualization-1.4.tar.gz
Algorithm Hash digest
SHA256 f62baa0511905e373ae0084e01ee11bce9942d2fb99de5b180e2f00438d0c7f5
MD5 af4a30b855853562caafd5671f3b081b
BLAKE2b-256 f57886c2b860a2297c1536057d577c92f9ff90ade270210ef1f7e8bbbad6f09d

See more details on using hashes here.

File details

Details for the file SortVisualization-1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for SortVisualization-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2118e531fb4cf3607d02e42a656e985df5af1590f33d2fd5116f54dcff50603d
MD5 cb902bb6aa0ba54b966a4bb73e197b9b
BLAKE2b-256 db751af6d4c827023052558c80be5c9a41dd25cbeee7571319a48e7a01af4ceb

See more details on using hashes here.

Supported by

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