Skip to main content

Apply multiple type of sorting algorithm on your data and also compare which sorting is fastes on your data

Project description

python-sorter

A Python package to apply multiple type of sorting algorithm on your data and also compare which sorting is fastes on your data. Visit the page for python-sorter

Installation

pip install python-sorter 

Usage

import data_sorter

arr = [0.32, 0.33, 0.37, 0.42, 0.47, 0.51, 0.52]
arr = data_sorter.bubble_sort(arr)
print(arr)

Available sorting algorithms

- brick_sort
- bubble_sort
- bucket_sort (only for float data)
- comb_sort
- counting_sort
- cycle_sort
- gnome_sort
- heap_sort
- insertion_sort
- intro_sort
- merge_sort
- pigeonhole_sort
- quick_sort
- radix_sort
- selection_sort
- stooge_sort
- strand_sort
- tree_sort

Project details


Download files

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

Source Distribution

python-sorter-1.1.0.tar.gz (10.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page