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
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.2.0.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for bubble_sorter-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 787c021910f8d16da2d7ceb0919b9dbc48476c405d244360f693ee7e6cd94faa |
|
MD5 | 456fd47d42efb56aec7e1a55a99e9236 |
|
BLAKE2b-256 | 60667ee532884b7b363cda3f31c87a207126bfa860354a53e4277a0ae1df9552 |