Skip to main content

sorting algorithms

Project description

Sorting algorithms

Coverage Status

  • Insert sort
  • Bubble sort
  • Merge sort
  • Selection sort
  • Quick sort
  • Heap sort
  • Counting sort
  • Radix sort

Install

pip install pysortlib

Usage

from pysortlib import insert_sort

array = [3, 5, 2, 1, 7, 4, 6]
insert_sort(array)  # set a breakpoint
print(array)

Development

Virtual environment

pip install --user poetry
poetry config virtualenvs.in-project true
poety shell
poetry install

Pre-commit

pre-commit install --hook-type pre-commit
pre-commit install --hook-type commit-msg
pre-commit autoupdate

Coding standards

  • black
  • ruff
  • mypy
  • pytest

Project details


Download files

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

Source Distribution

pysortlib-0.1.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

pysortlib-0.1.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

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