Skip to content

A repo of basic sorting algorithms implemented in Python

License

Notifications You must be signed in to change notification settings

BollaBerg/basic_sorting

Repository files navigation

basic_sorting

Build Test basic_sorting codecov

A repo of basic sorting algorithms implemented in Python.

This is mostly just to keep myself busy, while practicing testing, proper docstringing, pip-modularization, etc. It probably won't see any real world use, as all algorithms already have been implemented in Python by people way smarter than I am!

The goal is to turn this into an actual functioning pip-package, in order to practice that!


Setup

Virtual environment

I would highly recommend using a virtual environment for this! To create a virtual environment, simply run:

python3 -m venv /path/to/new/virtual/environment

To activate, run the following:

  • Windows: <path-to-venv>\Scripts\activate.bat
  • POSIX: source <path-to-venv>/bin/activate

For more information regarding virtual environments, check out the documentation

Project-specific setup

In order to make the project package-able, move to the root folder (where setup.py is located) and run the following code:

pip install -e .

(For more information about this process, check out this StackOverflow-comment, which is where I learnt it)

Install modules required for developing:

pip install -r requirements.txt

Contributors

Feel free to pipe in if you want to contribute. While this is primarily a practice project for myself to tinker with, I won't stand in the way of someone building upon it to make something cool! Just don't forget my name along the way.

Authors

  • Berg, Andreas

About

A repo of basic sorting algorithms implemented in Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages