Skip to main content

Project for exploring popular sorting algorithms.

Project description

Popular sorting

Library containing some of the most popular sorting algorithms to play around with.
At the moment library has the following algorithms implemented:

  • Bubble Sort
  • Bucket Sort
  • Insertion Sort
  • Merge Sort
  • Quick Sort
  • Selection Sort

How to install

pip install pop-sort

How to use

There are few examples on how to use this library in use_examples directory. All algorithms have optional reverse value which can be used if sorted array in reverse order is needed

Example:
sorted_offers = quick_sort([5, 8, 4, 15, 111, 1, 22, 1, 5, 10])
print(f"Here are best offers: {sorted_offers}")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pop_sort-1.0.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file pop_sort-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pop_sort-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for pop_sort-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 755ba0a30aabf2ad6a69e0af1479b96f2d6ee2f5e7da8a7d3ba28c755064b41c
MD5 236680a7c8aa65cd60029288640e8bab
BLAKE2b-256 bfeb6548b4942112d5567839781b95f496dc821774d0c8cd2a554dd2337d3f23

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page