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
Dillinger - Readme framework used
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sorting_asmaa-0.4.6.tar.gz.
File metadata
- Download URL: sorting_asmaa-0.4.6.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
445e5b2d57d46b2481f1b7213d638c73fbc9c1c99b51363d94fe3d526a487ced
|
|
| MD5 |
dfbd33364e1bc9959a049ea0c0b638af
|
|
| BLAKE2b-256 |
8c7227a1000a3264ca9c5e46708fa122b54d8b8965e59a277f953782f87d4fe9
|
File details
Details for the file sorting_asmaa-0.4.6-py3-none-any.whl.
File metadata
- Download URL: sorting_asmaa-0.4.6-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81a3a1082b775813991f2522e6d6074a8ed8d8a018ec06bc81840a52a561e71c
|
|
| MD5 |
2a5e6e3e5c5377cdb6f6e365ff3b0311
|
|
| BLAKE2b-256 |
888d1cd12fc2352033b4b21c66938659207484b28ee4fcf8d2c89e211b174c5c
|