A package with all sorting algorithms.
Reason this release was yanked:
Version 0.0.3 has functionality issues, shallow functionality, and numerous bugs.
Project description
pysorters
A Python package with sort methods for everything you could imagine.
Table of Contents
Installation
You can install the package via pip:
pip install pysorters
Or via git:
pip install git+https://github.com/yo1am1/pysorters.git
Usage
- Bubble Sort
from pysorters.methods import Sorter sort_1 = Sorter() array = [3, 2, 1] sort_1.bubble_sort(array) print(array) # [1, 2, 3] sort_2 = Sorter([10, 9, 6, 7, 8, 3, 5, 4, 2, 1]) result = sort_2.quick_sort() print(result) # [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
- Quick Sort
from pysorters.methods import Sorter, gran_array_int sort = Sorter(gran_array_int(10, 1, 10)) result = sort.quick_sort() print(result)
... and many more!
License
This project is licensed under the terms of the MIT 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
pysorters-0.0.3.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for pysorters-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9acd12b80a2fedf30b2fc4c3a33f93349c90a77dd6080d56b6f719ec81c64cb2 |
|
MD5 | d1142a24848aa4d6741d10605a4d2ed5 |
|
BLAKE2b-256 | e5225d19b86b2ddc65a599f468563cb0c43a5b96badf11d5d3ff6fb1de94b8ea |