Skip to main content

PySort

A Powerful Python package that performs 15 different types of stable and unstable Sorting algorithms on List Data Structure. This package will be more beneficial for competitive programmers and developers. Based on your requirement choose your sort algorithm.

USAGE

# importing Library

from sorting_techniques import pysort

# Creating the Sort Object
sortObj = pysort.Sorting()

BUBBLE SORT

myList = [1,3,2,7,4,89,56,99,111,23,6445,566]

# Genearting the Sort Result 
sortResult = sortObj.bubbleSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Insertion Sort

# Performing Insertion Sort
sortResult = sortObj.insertionSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Selection Sort

# Performing Insertion Sort
sortResult = sortObj.selectionSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Shell Sort

# Performing Insertion Sort
sortResult = sortObj.shellSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Pigeon Hole Sort

# Performing Insertion Sort
sortResult = sortObj.pigeonHoleSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Heap Sort

# Performing Insertion Sort
sortResult = sortObj.heapSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Gnome Sort

# Performing Insertion Sort
sortResult = sortObj.heapSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Heap Sort

# Performing Insertion Sort
sortResult = sortObj.heapSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Pancake Sort

# Performing Insertion Sort
sortResult = sortObj.pancakeSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Bogo Sort

# Performing Insertion Sort
sortResult = sortObj.bogoSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Merge Sort

# Performing Insertion Sort
sortResult = sortObj.mergeSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Quick Sort

# Performing Insertion Sort
sortResult = sortObj.heapSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Brick Sort

# Performing Insertion Sort
sortResult = sortObj.brickSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Radix Sort

# Performing Insertion Sort
sortResult = sortObj.radixSort(myList)

# The SortResult contains the Sorted List

print(sortResult)

Stooage Sort

# Performing Insertion Sort
sortResult = sortObj.heapSort(myList,initialIndexValue, lengthOfList-1)

# The SortResult contains the Sorted List

print(sortResult)

Dependencies

  1. Python v3.x is Required.

Release files for pysort 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysort 1.0.0
File Size Uploaded
pysort-1.0.0.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysort 1.0.0
File Interpreter ABI Platform
pysort-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / pysort-1.0.0.tar.gz

Download URL pysort-1.0.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f36651490e544e689b4f51185b6abd48444556a75c2a307c1b32a1750496aea7
BLAKE2b-256 checksum
How to use checksums
251b18c86981a76bbec7f80b5a2716ee6492b0f6ddccf08729617e5f400259fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

Release files / pysort-1.0.0-py3-none-any.whl

Download URL pysort-1.0.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80878810a5553476cc09f651fc9336fa906328894eee679c8f62804a12e8d1e8
BLAKE2b-256 checksum
How to use checksums
fbc33c2f7e195e165138eb871ffe2d89b255f92660171c3c52860f8a093cd621
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page