Skip to main content

A quite pointless bubble sort algorithm module.

Project description

Bubble Sort Python

Bubble Sort Python is a Python module for dealing with bubble sort needs in python. Although python already has an in-built sort mechanism — sort() I thought this would be a fun project!

Installation

Use the package manager pip to install Bubble Sort Python.

pip install bubble-sorter

Usage

import bubble_sorter

bubble_sorter.sort(2, 1, 3, 19, 8, 4) # returns [1, 2, 3, 4, 8, 19]
bubble_sorter.sort('goose', 'duck', 'cow', 'chicken', 'horse') # returns ['chicken', 'cow', 'duck', 'goose', 'horse']

Support/Contributions

Raise an issue here

License

MIT

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

bubble-sorter-1.2.0.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

bubble_sorter-1.2.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

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