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 foobar.
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
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
bubble-sorter-1.0.0.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for bubble_sorter-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1dd02a6877f10e665ff0f372d8f938d5c982d94df5cb3507553ad6e2cd65ade |
|
MD5 | 5d5758ac54c091b06ed08d121cfb845d |
|
BLAKE2b-256 | 1e39f8abfda56964ead22fd1b35f9c8276fdc793ce5e5ab211935447ea805624 |