SortVisualization: Visualize Different Sorting Algorithms with Custom Datasets
Dependencies:
Quick Start:
This visualizer is best used with integer values
-
Run
pip install SortVisualizationin the terminal to install this library -
Create a new Python file (name it whatever you like)
-
Import this library:
import SortVisualization -
Create your custom list of integers:
import random
arr = list(random.randint(-100, 100) for _ in range(30)) -
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)
Release files for SortVisualization 1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sortvisualization-1.4.tar.gz | 172.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SortVisualization-1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 515.0 kB
Release files / sortvisualization-1.4.tar.gz
| Download URL | sortvisualization-1.4.tar.gz |
|---|---|
| Size | 172.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f62baa0511905e373ae0084e01ee11bce9942d2fb99de5b180e2f00438d0c7f5
|
|
BLAKE2b-256 checksum How to use checksums |
f57886c2b860a2297c1536057d577c92f9ff90ade270210ef1f7e8bbbad6f09d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / SortVisualization-1.4-py3-none-any.whl
| Download URL | SortVisualization-1.4-py3-none-any.whl |
|---|---|
| Size | 342.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2118e531fb4cf3607d02e42a656e985df5af1590f33d2fd5116f54dcff50603d
|
|
BLAKE2b-256 checksum How to use checksums |
db751af6d4c827023052558c80be5c9a41dd25cbeee7571319a48e7a01af4ceb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|