pysortlib


Namepysortlib JSON
Version 0.5.0 PyPI version JSON
download
home_pagehttps://github.com/slimreaper35/pysortlib
SummaryPython Sorting Library
upload_time2024-01-23 11:39:33
maintainer
docs_urlNone
authorMichal Šoltis
requires_python>=3.11,<4.0
licenseMIT
keywords sorting algorithms data structures
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python Sorting Library

[![PyPI](https://img.shields.io/pypi/v/pysortlib)](https://pypi.org/project/pysortlib)
[![Downloads](https://static.pepy.tech/badge/pysortlib)](https://pepy.tech/project/pysortlib)
[![Coverage](https://coveralls.io/repos/github/slimreaper35/pysortlib/badge.svg?branch=main)](https://coveralls.io/github/slimreaper35/pysortlib?branch=main)

Library of sorting algorithms with precise implementation and documentation.

## Algorithms

- Bubble sort
- Counting sort
- Cycle sort
- Heap sort
- Insert sort
- Merge sort
- Pancake sort
- Quick sort
- Radix sort
- Selection sort
- Shell sort
- Sleep sort

## Install

```bash
pip install pysortlib
```

## Usage

```python
from pysortlib import insert_sort

array = [3, 5, 2, 1, 7, 4, 6]
insert_sort(array)  # set a breakpoint and explore \o/
print(array)
```

## Development

### Virtual environment

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

### Dependencies

```bash
poetry update
```

### Pre-commit

```bash
pre-commit clean
pre-commit install --hook-type pre-commit
```

### Coding standards

- ~~perfectionism~~
- [black](https://black.readthedocs.io/en/stable/) - code formatting
- [ruff](https://beta.ruff.rs/docs/) - static code analysis
- [mypy](https://mypy.readthedocs.io/en/stable/) - static type checking
- [pytest](https://docs.pytest.org/en/stable/) - unit tests

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/slimreaper35/pysortlib",
    "name": "pysortlib",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11,<4.0",
    "maintainer_email": "",
    "keywords": "sorting,algorithms,data structures",
    "author": "Michal \u0160oltis",
    "author_email": "msoltis@redhat.com",
    "download_url": "https://files.pythonhosted.org/packages/0f/5d/48c40fda8ff720c26e5994d7ab41a6b5951adcdfabceef0245ebe18fc95d/pysortlib-0.5.0.tar.gz",
    "platform": null,
    "description": "# Python Sorting Library\n\n[![PyPI](https://img.shields.io/pypi/v/pysortlib)](https://pypi.org/project/pysortlib)\n[![Downloads](https://static.pepy.tech/badge/pysortlib)](https://pepy.tech/project/pysortlib)\n[![Coverage](https://coveralls.io/repos/github/slimreaper35/pysortlib/badge.svg?branch=main)](https://coveralls.io/github/slimreaper35/pysortlib?branch=main)\n\nLibrary of sorting algorithms with precise implementation and documentation.\n\n## Algorithms\n\n- Bubble sort\n- Counting sort\n- Cycle sort\n- Heap sort\n- Insert sort\n- Merge sort\n- Pancake sort\n- Quick sort\n- Radix sort\n- Selection sort\n- Shell sort\n- Sleep sort\n\n## Install\n\n```bash\npip install pysortlib\n```\n\n## Usage\n\n```python\nfrom pysortlib import insert_sort\n\narray = [3, 5, 2, 1, 7, 4, 6]\ninsert_sort(array)  # set a breakpoint and explore \\o/\nprint(array)\n```\n\n## Development\n\n### Virtual environment\n\n```bash\npip install --user poetry\npoetry config virtualenvs.in-project true\npoety shell\npoetry install\n```\n\n### Dependencies\n\n```bash\npoetry update\n```\n\n### Pre-commit\n\n```bash\npre-commit clean\npre-commit install --hook-type pre-commit\n```\n\n### Coding standards\n\n- ~~perfectionism~~\n- [black](https://black.readthedocs.io/en/stable/) - code formatting\n- [ruff](https://beta.ruff.rs/docs/) - static code analysis\n- [mypy](https://mypy.readthedocs.io/en/stable/) - static type checking\n- [pytest](https://docs.pytest.org/en/stable/) - unit tests\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python Sorting Library",
    "version": "0.5.0",
    "project_urls": {
        "Homepage": "https://github.com/slimreaper35/pysortlib",
        "Repository": "https://github.com/slimreaper35/pysortlib"
    },
    "split_keywords": [
        "sorting",
        "algorithms",
        "data structures"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ddb53f988ba3529769805b7766684b45462dccf32080db0d68913f8106f0ff29",
                "md5": "96c115c6743de77511b48d0b1e71dcd4",
                "sha256": "5d0c66bd88771df3a0f561b5b9cebb35ed7723c4fa3d91e1cccd1bf81c5b6a59"
            },
            "downloads": -1,
            "filename": "pysortlib-0.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "96c115c6743de77511b48d0b1e71dcd4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<4.0",
            "size": 5837,
            "upload_time": "2024-01-23T11:39:33",
            "upload_time_iso_8601": "2024-01-23T11:39:33.030270Z",
            "url": "https://files.pythonhosted.org/packages/dd/b5/3f988ba3529769805b7766684b45462dccf32080db0d68913f8106f0ff29/pysortlib-0.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0f5d48c40fda8ff720c26e5994d7ab41a6b5951adcdfabceef0245ebe18fc95d",
                "md5": "d266365a7eeebab96efb62f281611626",
                "sha256": "c83b62328f75f3dd4a8c5ff18dbbdb78ab435cf1593a8ace7c3d28b08c7095ee"
            },
            "downloads": -1,
            "filename": "pysortlib-0.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d266365a7eeebab96efb62f281611626",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<4.0",
            "size": 5016,
            "upload_time": "2024-01-23T11:39:33",
            "upload_time_iso_8601": "2024-01-23T11:39:33.937328Z",
            "url": "https://files.pythonhosted.org/packages/0f/5d/48c40fda8ff720c26e5994d7ab41a6b5951adcdfabceef0245ebe18fc95d/pysortlib-0.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-23 11:39:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "slimreaper35",
    "github_project": "pysortlib",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "pysortlib"
}
        
Elapsed time: 0.22051s