Skip to main content

A sorting package

Project description

sorting_asmaa is a Python package that gives the user options to sort different types of inputs. The package includes K-way merge sort, introsort,Bucket sort,shell sort, and Radix sort. ## Getting Started ### Prerequisites

Before proceeding with the package installation, the following packages are needed: Math and timeit ### Installing

On command prompt

$ pip install sorting_asmaa

Usage

To use shell sort,

slist=[1,3,4,5] #add your list
print(sorting_asmaa.shellsort_asmaa(slist))

To use k-way merge sort

k=2 #add the value of k
slist=[1,3,4,5] #add your list
sorting_asmaa.kmerge_asmaa(slist)

To use bucket sort

slist=[1,3,4,5] #add your list
sorting_asmaa.bucketsort_asmaa(slist)

To use radix sort

slist=[1,3,4,5] #add your non-negative input
sorting_asmaa.radixsort_asmaa(slist)

To use intro sort

slist=[1,3,4,5] #add your input
sorting_asmaa.introsort_asmaa(slist)

Built With

Authors

  • Asmaa Aly - Initial work ## License

This project is licensed under the MIT License - see the LICENSE.md file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sorting-asmaa, version 0.4.6
Filename, size File type Python version Upload date Hashes
Filename, size sorting_asmaa-0.4.6-py3-none-any.whl (6.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sorting_asmaa-0.4.6.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page