funsort
A little Python package with fun sorting algorithms. Perfect if you would like a simple way to explore and compare various sorting algorithms, or if you just want to make your programs less efficient for no reason.
Important!
If you are reading this on PyPI, please note that this README was meant to be viewed with references to the project files. For a better experience, please view the README on GitHub by clicking here.
Usage
For a list of supported algorithms, see ALGORITHMS.md.
You can import a specific sorting function and use it to sort a list.
For example, to use the bubble_sort function:
from funsort import bubble_sort
data = [3, 1, 2]
print(bubblesort(data))
This will output:
[1, 2, 3]
You can also import the package of all prim-and-proper sorting algorithms and use any of the available functions. For example:
from funsort import Proper
data = [3, 1, 2]
print(Proper.bubble_sort(data))
Likewise, with the esoteric sorting algorithms:
from funsort import Esoteric
data = [3, 1, 2]
print(Esoteric.bogo_sort(data))
License
This project is licensed under the MIT License. See the LICENSE file for details.
Metadata
Release files for funsort 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| funsort-1.0.1.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| funsort-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.2 kB
Release files / funsort-1.0.1.tar.gz
| Download URL | funsort-1.0.1.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c198cbf6f04d916c8b36f5686a118c2d573601850ef0800889d9297be4fb1892
|
|
BLAKE2b-256 checksum How to use checksums |
a93293d02baaab6959fe98e25fb076ac4783d4c3a272dbcf36714535deceec84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 26, 2026.
Transparency logRelease files / funsort-1.0.1-py3-none-any.whl
| Download URL | funsort-1.0.1-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02a9f0d8764d65978b041660d221ae93dd948985425db8bf3db274b469eaad71
|
|
BLAKE2b-256 checksum How to use checksums |
8d320182fc0eeabc78a5f004c0b2cf09c63d05ef4926d29b0de3d7afc2c9cf3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 26, 2026.
Transparency log