Sorting Visualizer
A simple python project which visualizes various sorting algorithms.
How to setup
Simply open up your terminal and type
pip3 install sorting-visualizer
Algorithms Implemented
- Bubble Sort (bubblesort)
- Selection Sort (selectionsort)
- Insertion Sort (insertionsort)
- Merge Sort (mergesort)
- Quick Sort
- Heap Sort
Prerequisite
How to use
-
Show the plot
from sorting_visualizer import visualizer visualizer.visualize('bubblesort') -
Show and save the plot
from sorting_visualizer import visualizer visualizer.visualize('bubblesort', save=True) -
Only save the plot and not show it
from sorting_visualizer import visualizer visualizer.visualize('bubblesort', save=True, show=False) -
Saving in a particular location
from sorting_visualizer import visualizer visualizer.visualize('bubblesort', save=True, path='path/to/directory')
The default saving location is your current working directory.
Metadata
Release files for sorting-visualizer 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sorting_visualizer-1.0.tar.gz | 4.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sorting_visualizer-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / sorting_visualizer-1.0.tar.gz
| Download URL | sorting_visualizer-1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a45825d4e4e4c7f357199bde0c624c9809590979669505ef33c5b775f59462c2
|
|
BLAKE2b-256 checksum How to use checksums |
81b25d9d3b8c2756632fced714e82b20c24386959ef469ab0426cadd2d346ec0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Release files / sorting_visualizer-1.0-py3-none-any.whl
| Download URL | sorting_visualizer-1.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0994f49acf2eb26d1c5f9c0f8df6ada49bbfdd1db6a453391b2385151c49ce67
|
|
BLAKE2b-256 checksum How to use checksums |
7904417e728b4946099fd65d51788c4a8ba7814330f767fa62fcedc874818092
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Security for sorting-visualizer 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.