Skip to main content

QuickSortPy

QuickSortPy (by RapidDragon2612) is a Python implementation of the Quick Sort algorithm.

Quick Sort is widely regarded as one of the fastest and most efficient general-purpose sorting algorithms.


Installation

Install QuickSortPy using pip:

pip install quicksortpy

Usage

Import the library in your Python file:

import quicksortpy

Sort an array (in-place)

quicksortpy.sort(example_array)

This will sort example_array in place.


Sort into a new array

sorted_arr = quicksortpy.sort(example_array, True)

This returns a new sorted array without modifying the original.


Visualization

For educational purposes, you can visualize how the Quick Sort algorithm works step by step:

quicksortpy.visualize(example_array)

This will display each step the algorithm takes while sorting the array.


Notes

  • The sort() function accepts:
    • array: The list to sort
    • new_arr (optional): Set to True to return a new sorted list instead of modifying the original

Metadata

Release files for quicksortpy 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quicksortpy 1.1.1
File Size Uploaded Provenance Actions
quicksortpy-1.1.1.tar.gz 2.1 kB Without provenance Details for quicksortpy-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quicksortpy 1.1.1
File Interpreter ABI Platform Actions
quicksortpy-1.1.1-py3-none-any.whl Python 3 none any Details for quicksortpy-1.1.1-py3-none-any.whl

Total release size: 4.4 kB

Release files / quicksortpy-1.1.1.tar.gz

Download URL quicksortpy-1.1.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5052cd5caa17754004d5b0db2292ca9e345306eb500a5cec9a9160439080a4df
BLAKE2b-256 checksum
How to use checksums
d7d3764b671bb2394625b16885d348dcfea37bafd303a71fe9d361245944b500
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release files / quicksortpy-1.1.1-py3-none-any.whl

Download URL quicksortpy-1.1.1-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a388710aed5919974fc6b2cbeb686fd32f30941f942529e9ca60a49454f424d
BLAKE2b-256 checksum
How to use checksums
ac186d4a32b6fcf64dbcd10cd36ce706bc4ddfd3154dcba97731d30ea0c36bf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Security for quicksortpy 1.1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page